Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 175.4 kB / 7.648 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7949/0.7949, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 102.2 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.263e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5398, allocations: 82.31 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.617/2.157, allocations: 442.8 MB / 1.066 GB, free: 181 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/2.158, allocations: 89.31 kB / 1.066 GB, free: 181 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.836/5.993, allocations: 0.944 GB / 2.01 GB, free: 52.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/5.993, allocations: 1.5 kB / 2.01 GB, free: 52.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0008507/5.994, allocations: 135.1 kB / 2.011 GB, free: 52.25 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01996/6.014, allocations: 4.656 MB / 2.015 GB, free: 50.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/6.014, allocations: 9.344 kB / 2.015 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/6.019, allocations: 0.589 MB / 2.016 GB, free: 50.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/6.033, allocations: 4.045 MB / 2.02 GB, free: 49.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003673/6.033, allocations: 119.5 kB / 2.02 GB, free: 49.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/6.036, allocations: 234.2 kB / 2.02 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01178/6.048, allocations: 4.951 MB / 2.025 GB, free: 47.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/6.062, allocations: 5.412 MB / 2.03 GB, free: 45.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/6.062, allocations: 20.81 kB / 2.03 GB, free: 45.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006162/6.062, allocations: 17.58 kB / 2.03 GB, free: 45.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004558/6.063, allocations: 378.7 kB / 2.03 GB, free: 45.62 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04136/6.104, allocations: 24.24 MB / 2.054 GB, free: 28.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008835/6.113, allocations: 4.277 MB / 2.058 GB, free: 27.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/6.117, allocations: 2.24 MB / 2.061 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0228/6.139, allocations: 12.36 MB / 2.073 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002964/6.142, allocations: 2.096 MB / 2.075 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003222/6.146, allocations: 0.5776 MB / 2.075 GB, free: 16.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=310): time 7.204e-06/6.146, allocations: 0 / 2.075 GB, free: 16.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=334): time 0.08201/6.228, allocations: 18.48 MB / 2.093 GB, free: 2.082 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/6.228, allocations: 115.7 kB / 2.093 GB, free: 1.949 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/6.231, allocations: 2.201 MB / 2.096 GB, free: 0 / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001182/6.233, allocations: 34.03 kB / 2.096 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/6.235, allocations: 2.06 MB / 2.098 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002008/6.237, allocations: 1.114 MB / 2.099 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/6.237, allocations: 3.938 kB / 2.099 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002942/6.237, allocations: 469.2 kB / 2.099 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/6.24, allocations: 1.798 MB / 2.101 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00404/6.245, allocations: 2.823 MB / 2.104 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02481/6.269, allocations: 5.234 MB / 2.109 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.817e-05/6.269, allocations: 8 kB / 2.109 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03265/6.302, allocations: 7.985 MB / 2.117 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.6331/6.935, allocations: 11.93 MB / 2.128 GB, free: 81.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/6.936, allocations: 30.34 kB / 2.128 GB, free: 81.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/6.936, allocations: 55.59 kB / 2.128 GB, free: 81.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03588/6.972, allocations: 4.223 MB / 2.132 GB, free: 81.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/6.983, allocations: 5.462 MB / 2.138 GB, free: 77.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006111/6.989, allocations: 305.2 kB / 2.138 GB, free: 77.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/6.991, allocations: 203.3 kB / 2.138 GB, free: 77.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/6.991, allocations: 3.062 kB / 2.138 GB, free: 77.66 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02015/7.011, allocations: 6.029 MB / 2.144 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.868e-05/7.011, allocations: 27.81 kB / 2.144 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.351e-05/7.011, allocations: 53.03 kB / 2.144 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006375/7.017, allocations: 1.378 MB / 2.146 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-05/7.017, allocations: 69 kB / 2.146 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/7.023, allocations: 293.3 kB / 2.146 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/7.024, allocations: 201.2 kB / 2.146 GB, free: 77.57 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001414/7.026, allocations: 219 kB / 2.146 GB, free: 77.46 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02999/7.056, allocations: 6.847 MB / 2.153 GB, free: 77.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/7.057, allocations: 373.6 kB / 2.153 GB, free: 77.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02939/7.087, allocations: 7.911 MB / 2.161 GB, free: 77.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-05/7.087, allocations: 43.77 kB / 2.161 GB, free: 77.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/7.087, allocations: 0 / 2.161 GB, free: 77.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02591/7.113, allocations: 6.89 MB / 2.168 GB, free: 76.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04221/7.155, allocations: 14.07 MB / 2.182 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/7.155, allocations: 13.11 kB / 2.182 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03111/7.186, allocations: 3.82 MB / 2.185 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.521e-05/7.186, allocations: 29.16 kB / 2.185 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/7.187, allocations: 62.56 kB / 2.185 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/7.198, allocations: 5.33 MB / 2.191 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-05/7.198, allocations: 20.53 kB / 2.191 GB, free: 72.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0315/7.229, allocations: 11.82 MB / 2.202 GB, free: 69.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003166/7.232, allocations: 0.9506 MB / 2.203 GB, free: 69.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001137/7.234, allocations: 31.03 kB / 2.203 GB, free: 69.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00365/7.237, allocations: 206.8 kB / 2.203 GB, free: 69.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/7.238, allocations: 274.3 kB / 2.204 GB, free: 69.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004308/7.238, allocations: 170.8 kB / 2.204 GB, free: 69.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002667/7.241, allocations: 1.585 MB / 2.205 GB, free: 69.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/7.241, allocations: 3.906 kB / 2.205 GB, free: 69.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01149/7.252, allocations: 2.388 MB / 2.208 GB, free: 69.49 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03681/7.289, allocations: 17.24 MB / 2.224 GB, free: 63.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.05657/7.346, allocations: 11.45 MB / 2.236 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.933e-05/7.346, allocations: 4.688 kB / 2.236 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.04617/7.392, allocations: 6.623 MB / 2.242 GB, free: 63.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008943/7.401, allocations: 1.311 MB / 2.243 GB, free: 63.01 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/7.423, allocations: 10.1 MB / 2.253 GB, free: 60.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/7.426, allocations: 3.145 MB / 2.256 GB, free: 59.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0095/7.435, allocations: 2.764 MB / 2.259 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003242/7.438, allocations: 1.942 MB / 2.261 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/7.438, allocations: 0 / 2.261 GB, free: 59.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.191/7.629, allocations: 115.7 MB / 2.374 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/7.63, allocations: 193.9 kB / 2.374 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/14.47, allocations: 4.031 kB / 2.374 GB, free: 1.801 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)