Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7381/0.7381, allocations: 128.7 MB / 143.7 MB, free: 2.344 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 188.3 kB / 173.7 MB, free: 6.152 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 99.59 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 9.719 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.17, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.426, allocations: 430.3 MB / 1.056 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/1.426, allocations: 102.5 kB / 1.056 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.902/7.328, allocations: 1.307 GB / 2.363 GB, free: 47.86 MB / 0.7137 GB Notification: Performance of FrontEnd: time 2.835e-06/7.328, allocations: 0 / 2.363 GB, free: 47.86 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 0.006818/7.335, allocations: 0.5383 MB / 2.364 GB, free: 47.84 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1039 * Number of variables: 1039 Notification: Performance of Generate backend data structure: time 0.08574/7.421, allocations: 36.02 MB / 2.399 GB, free: 28.43 MB / 0.7137 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/7.421, allocations: 10.81 kB / 2.399 GB, free: 28.43 MB / 0.7137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003796/7.424, allocations: 0.554 MB / 2.399 GB, free: 28.37 MB / 0.7137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/7.441, allocations: 4.292 MB / 2.403 GB, free: 26 MB / 0.7137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09491/7.536, allocations: 28.09 MB / 2.431 GB, free: 20.27 MB / 0.7137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006011/7.536, allocations: 292.5 kB / 2.431 GB, free: 20.27 MB / 0.7137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/7.539, allocations: 400.4 kB / 2.432 GB, free: 20.26 MB / 0.7137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/7.558, allocations: 5.959 MB / 2.437 GB, free: 19.39 MB / 0.7137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003524/7.558, allocations: 16.94 kB / 2.437 GB, free: 19.39 MB / 0.7137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/7.56, allocations: 169.4 kB / 2.438 GB, free: 19.39 MB / 0.7137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006188/7.561, allocations: 386 kB / 2.438 GB, free: 19.38 MB / 0.7137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/7.574, allocations: 5.332 MB / 2.443 GB, free: 19.34 MB / 0.7137 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1422/7.716, allocations: 51.87 MB / 2.494 GB, free: 10.95 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008684/7.725, allocations: 4.449 MB / 2.498 GB, free: 7.199 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05443/7.78, allocations: 19.19 MB / 2.517 GB, free: 7.195 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003731/7.783, allocations: 2.247 MB / 2.519 GB, free: 5.441 MB / 0.7449 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01168/7.795, allocations: 0.6767 MB / 2.52 GB, free: 4.875 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=302): time 1.935e-05/7.795, allocations: 0 / 2.52 GB, free: 4.875 MB / 0.7449 GB Notification: Performance of matching and sorting (n=326): time 0.602/8.397, allocations: 22.49 MB / 2.542 GB, free: 73.93 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/8.397, allocations: 111.7 kB / 2.542 GB, free: 73.83 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.44/9.837, allocations: 75.96 MB / 2.616 GB, free: 71.66 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.001407/9.839, allocations: 91.45 kB / 2.616 GB, free: 71.62 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.04474/9.883, allocations: 23.22 MB / 2.639 GB, free: 69.4 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.002359/9.886, allocations: 1.131 MB / 2.64 GB, free: 68.68 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/9.887, allocations: 85.97 kB / 2.64 GB, free: 68.62 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0004265/9.887, allocations: 467.8 kB / 2.64 GB, free: 68.24 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/9.891, allocations: 1.905 MB / 2.642 GB, free: 67.59 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/9.896, allocations: 2.986 MB / 2.645 GB, free: 65.7 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/9.901, allocations: 2.422 MB / 2.647 GB, free: 64.78 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.168e-05/9.901, allocations: 8.938 kB / 2.648 GB, free: 64.78 MB / 0.7449 GB Notification: Performance of matching and sorting (n=516) (initialization): time 0.02959/9.931, allocations: 9.247 MB / 2.657 GB, free: 60.77 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.01026/9.941, allocations: 44.68 MB / 2.7 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/9.941, allocations: 27.53 kB / 2.7 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/9.941, allocations: 55.09 kB / 2.7 GB, free: 15.25 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03762/9.979, allocations: 4.229 MB / 2.704 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003865/9.983, allocations: 3.963 MB / 2.708 GB, free: 27.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02543/10.01, allocations: 415.2 kB / 2.709 GB, free: 27.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001985/10.01, allocations: 201.9 kB / 2.709 GB, free: 27.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/10.01, allocations: 4.625 kB / 2.709 GB, free: 27.43 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009867/10.02, allocations: 5.026 MB / 2.714 GB, free: 25.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.141e-05/10.02, allocations: 27.31 kB / 2.714 GB, free: 25.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.938e-05/10.02, allocations: 53.66 kB / 2.714 GB, free: 25.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006313/10.03, allocations: 1.378 MB / 2.715 GB, free: 25.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-05/10.03, allocations: 69.59 kB / 2.715 GB, free: 25.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01995/10.05, allocations: 398.5 kB / 2.716 GB, free: 25.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/10.05, allocations: 200.8 kB / 2.716 GB, free: 25.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (516): * Single equations (assignments): 510 * 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.02859/10.08, allocations: 11.7 MB / 2.727 GB, free: 23.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01873/10.1, allocations: 4.129 MB / 2.731 GB, free: 21.09 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03009/10.13, allocations: 10.03 MB / 2.741 GB, free: 17.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.504e-05/10.13, allocations: 45.28 kB / 2.741 GB, free: 17.92 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/10.13, allocations: 2.5 kB / 2.741 GB, free: 17.92 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005664/10.13, allocations: 4.203 MB / 2.745 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1241/10.26, allocations: 36.23 MB / 2.781 GB, free: 4.203 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/10.26, allocations: 12 kB / 2.781 GB, free: 4.191 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03598/10.29, allocations: 3.822 MB / 2.784 GB, free: 1.613 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.35e-05/10.29, allocations: 24 kB / 2.784 GB, free: 1.59 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000916/10.29, allocations: 110.3 kB / 2.784 GB, free: 1.492 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/10.3, allocations: 3.869 MB / 2.788 GB, free: 13.61 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/10.3, allocations: 16.69 kB / 2.788 GB, free: 13.59 MB / 0.7918 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04371/10.34, allocations: 24.87 MB / 2.813 GB, free: 5.07 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6695/11.01, allocations: 8.297 MB / 2.821 GB, free: 131.3 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01385/11.02, allocations: 109.6 kB / 2.821 GB, free: 131.3 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01822/11.04, allocations: 288.2 kB / 2.821 GB, free: 131.3 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/11.04, allocations: 261.8 kB / 2.821 GB, free: 131.3 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008257/11.04, allocations: 138.6 kB / 2.821 GB, free: 131.3 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.1638/11.21, allocations: 60.43 MB / 2.88 GB, free: 129.9 MB / 0.8074 GB Notification: Performance of sort global known variables: time 8.31e-07/11.21, allocations: 0 / 2.88 GB, free: 129.9 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0539/11.26, allocations: 9.252 MB / 2.889 GB, free: 129.9 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (386): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.04788/11.31, allocations: 22.47 MB / 2.911 GB, free: 119.8 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.06785/11.38, allocations: 11.76 MB / 2.923 GB, free: 119.7 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 2.43e-05/11.38, allocations: 8.281 kB / 2.923 GB, free: 119.7 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.05388/11.43, allocations: 6.696 MB / 2.929 GB, free: 119.7 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02837/11.46, allocations: 3.408 MB / 2.933 GB, free: 119.5 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.65/14.11, allocations: 0.8901 GB / 3.823 GB, free: 269.3 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0649/14.18, allocations: 18.93 MB / 3.841 GB, free: 267.7 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0462/14.22, allocations: 7.55 MB / 3.849 GB, free: 267.4 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04686/14.27, allocations: 19.52 MB / 3.868 GB, free: 267.4 MB / 1.042 GB Notification: Performance of SimCode: time 1.753e-06/14.27, allocations: 2 kB / 3.868 GB, free: 267.4 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.475/18.74, allocations: 0.6199 GB / 4.488 GB, free: 311.2 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/18.74, allocations: 292.6 kB / 4.488 GB, free: 310.9 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.24/61.98, allocations: 0 / 4.488 GB, free: 310.9 MB / 1.042 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)