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.7911/0.7911, allocations: 127.4 MB / 134.9 MB, free: 3.469 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.001121/0.001122, allocations: 171.2 kB / 164.6 MB, free: 11.61 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.937/1.937, allocations: 205.2 MB / 399.5 MB, free: 13.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.0008653/0.0008652, allocations: 95.97 kB / 476.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.913e-05, allocations: 2.5 kB / 0.5467 GB, free: 95.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1663, allocations: 76.78 MB / 0.6217 GB, free: 42.97 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.3116, allocations: 105.1 MB / 0.7243 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.312, allocations: 91.94 kB / 0.7244 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.458/2.77, allocations: 381 MB / 1.096 GB, free: 104.9 MB / 0.6199 GB Notification: Performance of FrontEnd: time 3.136e-06/2.771, allocations: 0 / 1.096 GB, free: 104.9 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.005715/2.776, allocations: 424 kB / 1.097 GB, free: 104.5 MB / 0.6199 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.04377/2.82, allocations: 21.6 MB / 1.118 GB, free: 82.73 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/2.82, allocations: 8.031 kB / 1.118 GB, free: 82.72 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008104/2.828, allocations: 3.724 MB / 1.122 GB, free: 78.95 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05733/2.886, allocations: 23.98 MB / 1.145 GB, free: 54.82 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/2.886, allocations: 4 kB / 1.145 GB, free: 54.81 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/2.886, allocations: 7.922 kB / 1.145 GB, free: 54.8 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000321/2.886, allocations: 183.8 kB / 1.145 GB, free: 54.62 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/2.886, allocations: 108.5 kB / 1.145 GB, free: 54.52 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/2.886, allocations: 0 / 1.145 GB, free: 54.52 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/2.886, allocations: 3.953 kB / 1.145 GB, free: 54.51 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/2.886, allocations: 4 kB / 1.145 GB, free: 54.51 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/2.927, allocations: 19.36 MB / 1.164 GB, free: 35.09 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/2.928, allocations: 199.8 kB / 1.164 GB, free: 34.89 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/2.928, allocations: 56.78 kB / 1.164 GB, free: 34.83 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/2.928, allocations: 4 kB / 1.164 GB, free: 34.83 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/2.928, allocations: 115.3 kB / 1.165 GB, free: 34.7 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=13): time 3.437e-06/2.928, allocations: 1.031 kB / 1.165 GB, free: 34.7 MB / 0.6199 GB Notification: Performance of matching and sorting (n=13): time 0.009252/2.937, allocations: 3.898 MB / 1.168 GB, free: 30.75 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/2.937, allocations: 52.12 kB / 1.168 GB, free: 30.69 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.22/5.157, allocations: 70.57 MB / 1.237 GB, free: 107.8 MB / 0.6357 GB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/5.157, allocations: 27.52 kB / 1.237 GB, free: 107.8 MB / 0.6357 GB Notification: Performance of collectInitialEqns (initialization): time 0.04265/5.2, allocations: 18.44 MB / 1.255 GB, free: 94.09 MB / 0.6357 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/5.2, allocations: 49.2 kB / 1.255 GB, free: 94.08 MB / 0.6357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/5.2, allocations: 0 / 1.255 GB, free: 94.08 MB / 0.6357 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/5.2, allocations: 316.4 kB / 1.256 GB, free: 93.77 MB / 0.6357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/5.2, allocations: 51.95 kB / 1.256 GB, free: 93.76 MB / 0.6357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/5.2, allocations: 73.12 kB / 1.256 GB, free: 93.72 MB / 0.6357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/5.201, allocations: 69.59 kB / 1.256 GB, free: 93.7 MB / 0.6357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/5.201, allocations: 0 / 1.256 GB, free: 93.7 MB / 0.6357 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.01123/5.212, allocations: 3.904 MB / 1.26 GB, free: 91.52 MB / 0.6357 GB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/5.212, allocations: 6.547 kB / 1.26 GB, free: 91.52 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/5.212, allocations: 0 / 1.26 GB, free: 91.52 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/5.212, allocations: 0 / 1.26 GB, free: 91.52 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/5.212, allocations: 25.97 kB / 1.26 GB, free: 91.52 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/5.212, allocations: 0 / 1.26 GB, free: 91.52 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00725/5.219, allocations: 37.64 kB / 1.26 GB, free: 91.52 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/5.22, allocations: 5.531 kB / 1.26 GB, free: 91.52 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 () * 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.0001208/5.22, allocations: 116.5 kB / 1.26 GB, free: 91.41 MB / 0.6357 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01054/5.23, allocations: 3.916 MB / 1.264 GB, free: 89.24 MB / 0.6357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009516/5.24, allocations: 3.748 MB / 1.267 GB, free: 87.13 MB / 0.6357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/5.255, allocations: 4.959 MB / 1.272 GB, free: 85.82 MB / 0.6357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/5.255, allocations: 0 / 1.272 GB, free: 85.82 MB / 0.6357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/5.255, allocations: 8.109 kB / 1.272 GB, free: 85.82 MB / 0.6357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/5.255, allocations: 4.172 kB / 1.272 GB, free: 85.82 MB / 0.6357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05212/5.307, allocations: 17.35 MB / 1.289 GB, free: 81.04 MB / 0.6357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/5.307, allocations: 0 / 1.289 GB, free: 81.04 MB / 0.6357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/5.307, allocations: 30.03 kB / 1.289 GB, free: 81.04 MB / 0.6357 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/5.307, allocations: 2.75 kB / 1.289 GB, free: 81.04 MB / 0.6357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/5.307, allocations: 4.016 kB / 1.289 GB, free: 81.04 MB / 0.6357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/5.307, allocations: 2 kB / 1.289 GB, free: 81.04 MB / 0.6357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/5.307, allocations: 0 / 1.289 GB, free: 81.04 MB / 0.6357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/5.321, allocations: 4.228 MB / 1.293 GB, free: 78.58 MB / 0.6357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01751/5.339, allocations: 7.918 MB / 1.301 GB, free: 75.55 MB / 0.6357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007343/5.346, allocations: 27.22 kB / 1.301 GB, free: 75.55 MB / 0.6357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009805/5.356, allocations: 22.88 kB / 1.301 GB, free: 75.55 MB / 0.6357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/5.356, allocations: 22.83 kB / 1.301 GB, free: 75.54 MB / 0.6357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/5.356, allocations: 5.141 kB / 1.301 GB, free: 75.54 MB / 0.6357 GB Notification: Performance of sorting global known variables: time 0.135/5.491, allocations: 55.57 MB / 1.355 GB, free: 46.31 MB / 0.6357 GB Notification: Performance of sort global known variables: time 8.62e-07/5.491, allocations: 0 / 1.355 GB, free: 46.31 MB / 0.6357 GB Notification: Performance of remove unused functions: time 0.01659/5.508, allocations: 3.356 MB / 1.359 GB, free: 42.96 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) * 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.01771/5.526, allocations: 5.281 MB / 1.364 GB, free: 37.8 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.0003753/5.526, allocations: 145.5 kB / 1.364 GB, free: 37.68 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/5.526, allocations: 4 kB / 1.364 GB, free: 37.67 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/5.526, allocations: 84.47 kB / 1.364 GB, free: 37.6 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02147/5.548, allocations: 1.854 MB / 1.366 GB, free: 35.75 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2165/5.764, allocations: 78.19 MB / 1.442 GB, free: 13.75 MB / 0.6825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04666/5.811, allocations: 16.37 MB / 1.458 GB, free: 13.32 MB / 0.6982 GB Notification: Performance of simCode: alias equations: time 0.0178/5.829, allocations: 5.255 MB / 1.463 GB, free: 8.066 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.544/6.373, allocations: 16.12 MB / 1.479 GB, free: 171.9 MB / 0.6982 GB Notification: Performance of SimCode: time 1.553e-06/6.373, allocations: 0.9375 kB / 1.479 GB, free: 171.9 MB / 0.6982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.865/9.238, allocations: 461.7 MB / 1.93 GB, free: 15.99 MB / 0.7294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003532/9.238, allocations: 212.1 kB / 1.93 GB, free: 15.71 MB / 0.7294 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.03/36.27, allocations: 0 / 1.93 GB, free: 15.71 MB / 0.7294 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)