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.8564/0.8564, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 191.7 kB / 182.2 MB, free: 9.461 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.625/1.625, allocations: 221.5 MB / 436.4 MB, free: 13.37 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.001079/0.001079, allocations: 96.08 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 284 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.786e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5331, allocations: 82.78 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.539/2.072, allocations: 440.1 MB / 1.187 GB, free: 261 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/2.072, allocations: 91.08 kB / 1.187 GB, free: 261 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.714/5.786, allocations: 0.9441 GB / 2.131 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.146e-06/5.786, allocations: 0 / 2.131 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006364/5.787, allocations: 134.4 kB / 2.132 GB, free: 54.69 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.01764/5.805, allocations: 4.649 MB / 2.136 GB, free: 52.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/5.805, allocations: 13.59 kB / 2.136 GB, free: 52.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003878/5.809, allocations: 0.5829 MB / 2.137 GB, free: 52.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/5.821, allocations: 4.042 MB / 2.141 GB, free: 51.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/5.821, allocations: 127.6 kB / 2.141 GB, free: 51.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/5.823, allocations: 230.3 kB / 2.141 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01022/5.833, allocations: 4.959 MB / 2.146 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/5.847, allocations: 5.408 MB / 2.151 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/5.847, allocations: 14.94 kB / 2.151 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/5.848, allocations: 9.719 kB / 2.151 GB, free: 51.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004971/5.849, allocations: 388.7 kB / 2.151 GB, free: 51.08 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.03508/5.884, allocations: 24.25 MB / 2.175 GB, free: 35.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/5.89, allocations: 4.289 MB / 2.179 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/5.894, allocations: 2.239 MB / 2.181 GB, free: 33.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/5.918, allocations: 12.35 MB / 2.194 GB, free: 25.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00308/5.921, allocations: 2.094 MB / 2.196 GB, free: 24.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003626/5.925, allocations: 0.5722 MB / 2.196 GB, free: 24.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=310): time 1.161e-05/5.925, allocations: 5.672 kB / 2.196 GB, free: 24.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=334): time 0.08501/6.01, allocations: 18.48 MB / 2.214 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/6.01, allocations: 119.6 kB / 2.214 GB, free: 17.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/6.014, allocations: 2.2 MB / 2.216 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001144/6.015, allocations: 29.7 kB / 2.216 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/6.016, allocations: 2.056 MB / 2.219 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001548/6.018, allocations: 1.109 MB / 2.22 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/6.018, allocations: 0 / 2.22 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002008/6.018, allocations: 470.3 kB / 2.22 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/6.021, allocations: 1.81 MB / 2.222 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/6.024, allocations: 2.814 MB / 2.225 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02331/6.047, allocations: 5.24 MB / 2.23 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-05/6.047, allocations: 8 kB / 2.23 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03032/6.077, allocations: 7.979 MB / 2.237 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.004642/6.082, allocations: 11.94 MB / 2.249 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.056e-05/6.082, allocations: 28 kB / 2.249 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.844e-05/6.082, allocations: 55.94 kB / 2.249 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03833/6.121, allocations: 4.522 MB / 2.254 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/6.133, allocations: 5.463 MB / 2.259 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00653/6.139, allocations: 311.3 kB / 2.259 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/6.141, allocations: 203.9 kB / 2.259 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/6.141, allocations: 4 kB / 2.259 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0208/6.162, allocations: 6.029 MB / 2.265 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.696e-05/6.162, allocations: 28 kB / 2.265 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.453e-05/6.162, allocations: 52 kB / 2.265 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006302/6.168, allocations: 1.377 MB / 2.267 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-05/6.168, allocations: 67.78 kB / 2.267 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005011/6.173, allocations: 299.3 kB / 2.267 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000761/6.174, allocations: 195.9 kB / 2.267 GB, free: 176 kB / 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.6138/6.788, allocations: 210.4 kB / 2.267 GB, free: 82.98 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03232/6.82, allocations: 6.853 MB / 2.274 GB, free: 82.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/6.821, allocations: 371.8 kB / 2.275 GB, free: 82.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02953/6.851, allocations: 7.901 MB / 2.282 GB, free: 82.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.375e-05/6.851, allocations: 49.14 kB / 2.282 GB, free: 82.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/6.851, allocations: 0 / 2.282 GB, free: 82.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02561/6.877, allocations: 6.879 MB / 2.289 GB, free: 82.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03932/6.916, allocations: 14.08 MB / 2.303 GB, free: 81.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/6.916, allocations: 10.38 kB / 2.303 GB, free: 81.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03075/6.947, allocations: 3.819 MB / 2.307 GB, free: 81.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.718e-05/6.947, allocations: 30.03 kB / 2.307 GB, free: 81.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007668/6.948, allocations: 66.27 kB / 2.307 GB, free: 81.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/6.958, allocations: 5.332 MB / 2.312 GB, free: 78.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-05/6.958, allocations: 16.66 kB / 2.312 GB, free: 78.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03146/6.99, allocations: 11.82 MB / 2.323 GB, free: 75.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003034/6.993, allocations: 0.9404 MB / 2.324 GB, free: 75.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008166/6.993, allocations: 34.58 kB / 2.324 GB, free: 75.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/6.997, allocations: 216 kB / 2.325 GB, free: 75.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/6.997, allocations: 274.6 kB / 2.325 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003548/6.997, allocations: 167.2 kB / 2.325 GB, free: 75.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002442/7, allocations: 1.589 MB / 2.327 GB, free: 75.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/7, allocations: 1.406 kB / 2.327 GB, free: 75.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01077/7.011, allocations: 2.389 MB / 2.329 GB, free: 75.06 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.04019/7.051, allocations: 17.25 MB / 2.346 GB, free: 68.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.05723/7.108, allocations: 11.45 MB / 2.357 GB, free: 68.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.202e-05/7.108, allocations: 8.188 kB / 2.357 GB, free: 68.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.04688/7.155, allocations: 6.618 MB / 2.363 GB, free: 68.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009168/7.164, allocations: 1.307 MB / 2.365 GB, free: 68.64 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02823/7.193, allocations: 10.11 MB / 2.374 GB, free: 66.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003168/7.196, allocations: 3.157 MB / 2.378 GB, free: 65.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01015/7.206, allocations: 2.76 MB / 2.38 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00307/7.209, allocations: 1.933 MB / 2.382 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of SimCode: time 1.603e-06/7.209, allocations: 4 kB / 2.382 GB, free: 65.17 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1971/7.406, allocations: 115.8 MB / 2.495 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/7.407, allocations: 200 kB / 2.495 GB, free: 25.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/14.42, allocations: 4.031 kB / 2.495 GB, free: 25.23 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)