Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.681/0.681, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 181.7 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0009919/0.000992, allocations: 100.1 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 264.6 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.963e-05/4.981e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9854/1.332, allocations: 440.8 MB / 1.195 GB, free: 184.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.333, allocations: 93.08 kB / 1.195 GB, free: 184.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.813/4.145, allocations: 0.9502 GB / 2.145 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.303e-06/4.145, allocations: 0 / 2.145 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000326/4.146, allocations: 136.4 kB / 2.145 GB, free: 53.98 MB / 0.7136 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.01219/4.158, allocations: 4.659 MB / 2.15 GB, free: 52.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/4.158, allocations: 9.594 kB / 2.15 GB, free: 52.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/4.159, allocations: 0.5461 MB / 2.15 GB, free: 52.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/4.161, allocations: 0.5791 MB / 2.151 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008946/4.17, allocations: 4.042 MB / 2.155 GB, free: 50.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/4.17, allocations: 299.6 kB / 2.155 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000704/4.171, allocations: 400 kB / 2.155 GB, free: 49.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00792/4.179, allocations: 5.945 MB / 2.161 GB, free: 47.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-05/4.179, allocations: 13.53 kB / 2.161 GB, free: 47.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000438/4.18, allocations: 168.6 kB / 2.161 GB, free: 47.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003437/4.18, allocations: 384 kB / 2.162 GB, free: 47.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006858/4.187, allocations: 5.222 MB / 2.167 GB, free: 45.51 MB / 0.7136 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.02507/4.212, allocations: 25.04 MB / 2.191 GB, free: 28.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/4.217, allocations: 4.427 MB / 2.196 GB, free: 26.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002508/4.22, allocations: 2.334 MB / 2.198 GB, free: 25.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/4.236, allocations: 12.56 MB / 2.21 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002715/4.239, allocations: 2.199 MB / 2.212 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002964/4.242, allocations: 0.6674 MB / 2.213 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=310): time 7.404e-06/4.242, allocations: 4 kB / 2.213 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=334): time 0.02225/4.265, allocations: 11.48 MB / 2.224 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/4.265, allocations: 115.5 kB / 2.224 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/4.268, allocations: 2.752 MB / 2.227 GB, free: 44 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006197/4.269, allocations: 111.7 kB / 2.227 GB, free: 0 / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001625/4.27, allocations: 2.067 MB / 2.229 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009392/4.271, allocations: 1.16 MB / 2.23 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/4.272, allocations: 80 kB / 2.23 GB, free: 13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002032/4.272, allocations: 466.9 kB / 2.231 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/4.274, allocations: 1.87 MB / 2.233 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003291/4.278, allocations: 2.921 MB / 2.235 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/4.281, allocations: 2.4 MB / 2.238 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/4.281, allocations: 8 kB / 2.238 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008012/4.289, allocations: 5.438 MB / 2.243 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003314/4.292, allocations: 12.19 MB / 2.255 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/4.292, allocations: 28 kB / 2.255 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.647e-05/4.292, allocations: 52 kB / 2.255 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4447/4.737, allocations: 4.207 MB / 2.259 GB, free: 83.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/4.739, allocations: 3.96 MB / 2.263 GB, free: 80.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/4.745, allocations: 385.9 kB / 2.263 GB, free: 80.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008158/4.746, allocations: 204.6 kB / 2.264 GB, free: 80.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/4.746, allocations: 5.594 kB / 2.264 GB, free: 80.36 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008447/4.754, allocations: 4.93 MB / 2.268 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.366e-05/4.754, allocations: 31.41 kB / 2.269 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/4.754, allocations: 49.34 kB / 2.269 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005583/4.76, allocations: 1.373 MB / 2.27 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.469e-05/4.76, allocations: 65.72 kB / 2.27 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004188/4.764, allocations: 383.5 kB / 2.27 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/4.765, allocations: 194.5 kB / 2.271 GB, free: 80.27 MB / 0.7448 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.001088/4.766, allocations: 361 kB / 2.271 GB, free: 80.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/4.766, allocations: 403.5 kB / 2.271 GB, free: 80.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008066/4.774, allocations: 5.351 MB / 2.276 GB, free: 79.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.28e-05/4.774, allocations: 43.31 kB / 2.277 GB, free: 79.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/4.774, allocations: 7.859 kB / 2.277 GB, free: 79.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004944/4.779, allocations: 4.212 MB / 2.281 GB, free: 79.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/4.795, allocations: 11.89 MB / 2.292 GB, free: 78.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/4.795, allocations: 13.12 kB / 2.292 GB, free: 78.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02962/4.825, allocations: 3.831 MB / 2.296 GB, free: 78.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.546e-05/4.825, allocations: 31.92 kB / 2.296 GB, free: 78.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005166/4.826, allocations: 115.2 kB / 2.296 GB, free: 78.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/4.827, allocations: 3.862 MB / 2.3 GB, free: 75.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/4.827, allocations: 20.16 kB / 2.3 GB, free: 75.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009613/4.837, allocations: 9.323 MB / 2.309 GB, free: 72.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00246/4.839, allocations: 0.9909 MB / 2.31 GB, free: 72.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000547/4.84, allocations: 93.81 kB / 2.31 GB, free: 72.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/4.843, allocations: 275.5 kB / 2.31 GB, free: 72.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/4.843, allocations: 277.9 kB / 2.311 GB, free: 72.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003754/4.844, allocations: 170.1 kB / 2.311 GB, free: 72.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002526/4.846, allocations: 2.063 MB / 2.313 GB, free: 72.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/4.846, allocations: 0.5625 kB / 2.313 GB, free: 72.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009242/4.856, allocations: 2.634 MB / 2.315 GB, free: 72.38 MB / 0.7448 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.01381/4.869, allocations: 14.72 MB / 2.33 GB, free: 66.08 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.05388/4.923, allocations: 11.81 MB / 2.341 GB, free: 65.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.146e-05/4.923, allocations: 6.906 kB / 2.341 GB, free: 65.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0442/4.968, allocations: 6.709 MB / 2.348 GB, free: 65.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007847/4.975, allocations: 1.573 MB / 2.349 GB, free: 65.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0201/4.996, allocations: 10.53 MB / 2.36 GB, free: 63.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/4.998, allocations: 3.147 MB / 2.363 GB, free: 62.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.008261/5.006, allocations: 2.949 MB / 2.366 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002424/5.008, allocations: 1.951 MB / 2.368 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of SimCode: time 1.363e-06/5.009, allocations: 0 / 2.368 GB, free: 62.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/5.173, allocations: 133 MB / 2.497 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/5.173, allocations: 254.6 kB / 2.498 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.001/11.17, allocations: 0 / 2.498 GB, free: 12.98 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)