Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.8761/0.8761, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001116/0.001117, allocations: 182 kB / 173.7 MB, free: 6.129 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.821/1.821, allocations: 205.4 MB / 409 MB, free: 10.53 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.0009342/0.0009341, allocations: 88.28 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 8.312 kB / 0.5605 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.3343, allocations: 105.8 MB / 0.7388 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3346, allocations: 95.92 kB / 0.7389 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.168/2.503, allocations: 383.5 MB / 1.113 GB, free: 114.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.296e-06/2.503, allocations: 4 kB / 1.113 GB, free: 114.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.007306/2.511, allocations: 424 kB / 1.114 GB, free: 113.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.06016/2.571, allocations: 31.17 MB / 1.144 GB, free: 82.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/2.571, allocations: 8.031 kB / 1.144 GB, free: 82.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.077e-05/2.571, allocations: 38.55 kB / 1.144 GB, free: 82.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007739/2.579, allocations: 3.728 MB / 1.148 GB, free: 78.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07163/2.65, allocations: 24.28 MB / 1.172 GB, free: 54.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/2.65, allocations: 4 kB / 1.172 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/2.65, allocations: 8 kB / 1.172 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/2.651, allocations: 110.3 kB / 1.172 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/2.651, allocations: 8 kB / 1.172 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/2.651, allocations: 3.953 kB / 1.172 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/2.651, allocations: 0 / 1.172 GB, free: 53.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/2.651, allocations: 191.8 kB / 1.172 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03605/2.687, allocations: 19.62 MB / 1.191 GB, free: 34.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/2.688, allocations: 220.5 kB / 1.191 GB, free: 33.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/2.688, allocations: 3.984 kB / 1.191 GB, free: 33.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/2.688, allocations: 115.3 kB / 1.191 GB, free: 33.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/2.688, allocations: 0 / 1.191 GB, free: 33.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.007876/2.696, allocations: 3.968 MB / 1.195 GB, free: 29.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/2.696, allocations: 55.41 kB / 1.195 GB, free: 29.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.02/4.716, allocations: 73.47 MB / 1.267 GB, free: 103.8 MB / 0.6357 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/4.716, allocations: 30.45 kB / 1.267 GB, free: 103.8 MB / 0.6357 GB Notification: Performance of collectInitialEqns (initialization): time 0.03453/4.75, allocations: 18.45 MB / 1.285 GB, free: 89.23 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/4.751, allocations: 42.48 kB / 1.285 GB, free: 89.23 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/4.751, allocations: 4 kB / 1.285 GB, free: 89.22 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/4.751, allocations: 311.4 kB / 1.285 GB, free: 88.92 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/4.751, allocations: 56.84 kB / 1.286 GB, free: 88.9 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/4.751, allocations: 77.41 kB / 1.286 GB, free: 88.86 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/4.751, allocations: 66.92 kB / 1.286 GB, free: 88.84 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/4.751, allocations: 0 / 1.286 GB, free: 88.84 MB / 0.6357 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.01069/4.762, allocations: 3.919 MB / 1.289 GB, free: 86.65 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/4.762, allocations: 6.406 kB / 1.289 GB, free: 86.65 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/4.762, allocations: 0 / 1.289 GB, free: 86.65 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/4.762, allocations: 3.75 kB / 1.289 GB, free: 86.65 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/4.762, allocations: 28.72 kB / 1.29 GB, free: 86.65 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/4.762, allocations: 6.438 kB / 1.29 GB, free: 86.65 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006758/4.769, allocations: 31.28 kB / 1.29 GB, free: 86.65 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/4.769, allocations: 10.28 kB / 1.29 GB, free: 86.64 MB / 0.6357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02034/4.789, allocations: 10.6 MB / 1.3 GB, free: 84.88 MB / 0.6357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01051/4.8, allocations: 3.75 MB / 1.304 GB, free: 82.77 MB / 0.6357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/4.815, allocations: 4.976 MB / 1.308 GB, free: 81.45 MB / 0.6357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/4.815, allocations: 0.8906 kB / 1.308 GB, free: 81.45 MB / 0.6357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/4.815, allocations: 3.844 kB / 1.308 GB, free: 81.45 MB / 0.6357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/4.815, allocations: 0 / 1.308 GB, free: 81.45 MB / 0.6357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04757/4.863, allocations: 17.63 MB / 1.326 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/4.863, allocations: 2.406 kB / 1.326 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/4.863, allocations: 34.03 kB / 1.326 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/4.863, allocations: 0 / 1.326 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/4.863, allocations: 6.672 kB / 1.326 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/4.863, allocations: 3.312 kB / 1.326 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/4.863, allocations: 0 / 1.326 GB, free: 76.39 MB / 0.6357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009691/4.873, allocations: 4.248 MB / 1.33 GB, free: 73.91 MB / 0.6357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02514/4.898, allocations: 7.913 MB / 1.338 GB, free: 70.88 MB / 0.6357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00774/4.906, allocations: 25.7 kB / 1.338 GB, free: 70.88 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007336/4.913, allocations: 30.91 kB / 1.338 GB, free: 70.88 MB / 0.6357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/4.913, allocations: 14.06 kB / 1.338 GB, free: 70.88 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/4.913, allocations: 10.77 kB / 1.338 GB, free: 70.88 MB / 0.6357 GB Notification: Performance of sorting global known variables: time 0.1418/5.055, allocations: 58.48 MB / 1.395 GB, free: 25.27 MB / 0.6357 GB Notification: Performance of sort global known variables: time 9.92e-07/5.055, allocations: 4 kB / 1.395 GB, free: 25.27 MB / 0.6357 GB Notification: Performance of remove unused functions: time 0.01247/5.067, allocations: 3.356 MB / 1.398 GB, free: 21.91 MB / 0.6357 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01412/5.082, allocations: 5.379 MB / 1.403 GB, free: 16.73 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.00036/5.082, allocations: 157.1 kB / 1.403 GB, free: 16.6 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/5.082, allocations: 0 / 1.403 GB, free: 16.6 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/5.082, allocations: 90.89 kB / 1.404 GB, free: 16.53 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01685/5.099, allocations: 1.859 MB / 1.405 GB, free: 14.68 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.316/10.41, allocations: 0.8979 GB / 2.303 GB, free: 318.5 MB / 0.8544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04977/10.46, allocations: 16.37 MB / 2.319 GB, free: 317.1 MB / 0.8544 GB Notification: Performance of simCode: alias equations: time 0.01798/10.48, allocations: 5.253 MB / 2.324 GB, free: 316.9 MB / 0.8544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02983/10.51, allocations: 16.12 MB / 2.34 GB, free: 309.5 MB / 0.8544 GB Notification: Performance of SimCode: time 1.402e-06/10.51, allocations: 2 kB / 2.34 GB, free: 309.5 MB / 0.8544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.247/13.76, allocations: 0.5257 GB / 2.866 GB, free: 183.2 MB / 0.8544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/13.76, allocations: 260 kB / 2.866 GB, free: 182.9 MB / 0.8544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.14/39.9, allocations: 0 / 2.866 GB, free: 182.9 MB / 0.8544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)