Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 108.8 kB / 15.99 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 190 kB / 16.9 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.734/0.734, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 493.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3347, allocations: 76.17 MB / 0.556 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002575/0.3373, allocations: 1.685 MB / 0.5577 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3388, allocations: 1.452 MB / 0.5591 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.3389, allocations: 1.125 kB / 0.5591 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.3392, allocations: 49.53 kB / 0.5592 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.3394, allocations: 45.77 kB / 0.5592 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.3396, allocations: 92.66 kB / 0.5593 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.3398, allocations: 165.6 kB / 0.5594 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.3398, allocations: 9.516 kB / 0.5594 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.34, allocations: 58.7 kB / 0.5595 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3401, allocations: 85.12 kB / 0.5596 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.3401, allocations: 10.03 kB / 0.5596 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3403, allocations: 64.17 kB / 0.5597 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.3403, allocations: 44.11 kB / 0.5597 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.3404, allocations: 61.86 kB / 0.5598 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3406, allocations: 197.8 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.3406, allocations: 1.312 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3406, allocations: 2.875 kB / 0.56 GB, free: 33.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3407, allocations: 0 / 0.56 GB, free: 33.12 MB / 446.1 MB 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.0005287/0.3412, allocations: 464.6 kB / 0.5604 GB, free: 32.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3412, allocations: 9.281 kB / 0.5604 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.3413, allocations: 39.31 kB / 0.5604 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3413, allocations: 16.75 kB / 0.5605 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.3416, allocations: 261.3 kB / 0.5607 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3416, allocations: 7.641 kB / 0.5607 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.3417, allocations: 8.281 kB / 0.5607 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.3419, allocations: 121.5 kB / 0.5608 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3419, allocations: 1 kB / 0.5608 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3419, allocations: 5.688 kB / 0.5608 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3419, allocations: 3.375 kB / 0.5608 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.3421, allocations: 139.5 kB / 0.561 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.3423, allocations: 239.5 kB / 0.5612 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.3427, allocations: 173.5 kB / 0.5614 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.3428, allocations: 55.84 kB / 0.5614 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3428, allocations: 7.562 kB / 0.5614 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.343, allocations: 112.5 kB / 0.5615 GB, free: 31.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.343, allocations: 0 / 0.5615 GB, free: 31.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004421/0.3435, allocations: 222.6 kB / 0.5618 GB, free: 31.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.3435, allocations: 79.73 kB / 0.5618 GB, free: 31.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3437, allocations: 199.3 kB / 0.562 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3437, allocations: 37.86 kB / 0.5621 GB, free: 31.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.3438, allocations: 110.7 kB / 0.5622 GB, free: 31.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.3438, allocations: 49.52 kB / 0.5622 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.3439, allocations: 32.94 kB / 0.5622 GB, free: 31.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.3439, allocations: 329.2 kB / 0.5626 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.344, allocations: 47.28 kB / 0.5626 GB, free: 31.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.3441, allocations: 75.3 kB / 0.5627 GB, free: 31.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3443, allocations: 126.7 kB / 0.5628 GB, free: 30.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3443, allocations: 3.938 kB / 0.5628 GB, free: 30.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002921/0.3446, allocations: 195.6 kB / 0.563 GB, free: 30.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3447, allocations: 6.438 kB / 0.563 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3447, allocations: 0.75 kB / 0.563 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3447, allocations: 1.219 kB / 0.563 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3448, allocations: 26.47 kB / 0.563 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3448, allocations: 1.125 kB / 0.563 GB, free: 30.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.935e-05/0.3449, allocations: 16.72 kB / 0.563 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3449, allocations: 8.984 kB / 0.563 GB, free: 30.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.922e-05/0.345, allocations: 142 kB / 0.5632 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.345, allocations: 15.67 kB / 0.5632 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.3451, allocations: 28.81 kB / 0.5632 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3451, allocations: 1.125 kB / 0.5632 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3451, allocations: 8.406 kB / 0.5632 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3451, allocations: 0.6562 kB / 0.5632 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3453, allocations: 244.7 kB / 0.5635 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3453, allocations: 0 / 0.5635 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.257e-05/0.3454, allocations: 18.41 kB / 0.5635 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3454, allocations: 0.6562 kB / 0.5635 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3454, allocations: 5.922 kB / 0.5635 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3454, allocations: 0 / 0.5635 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3454, allocations: 1.344 kB / 0.5635 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.3457, allocations: 218 kB / 0.5637 GB, free: 30.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.3458, allocations: 91.02 kB / 0.5638 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.3458, allocations: 10.66 kB / 0.5638 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.879e-05/0.3459, allocations: 4.844 kB / 0.5638 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3459, allocations: 9.516 kB / 0.5638 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.346, allocations: 7 kB / 0.5638 GB, free: 30.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3461, allocations: 163.8 kB / 0.564 GB, free: 30.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3461, allocations: 0 / 0.564 GB, free: 30.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.3464, allocations: 37.11 kB / 0.564 GB, free: 30.11 MB / 446.1 MB 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/0.3478, allocations: 1.095 MB / 0.5651 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.3481, allocations: 138.8 kB / 0.5652 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3481, allocations: 0 / 0.5652 GB, free: 29.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3482, allocations: 61.78 kB / 0.5653 GB, free: 29.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3485, allocations: 43.78 kB / 0.5653 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.3505, allocations: 1.961 MB / 0.5672 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.3507, allocations: 0.7209 MB / 0.5679 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3508, allocations: 49.7 kB / 0.568 GB, free: 27.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.774e-05/0.3509, allocations: 62.2 kB / 0.568 GB, free: 27.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3509, allocations: 0.9688 kB / 0.568 GB, free: 27.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.3676, allocations: 4.498 MB / 0.5724 GB, free: 26.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.3678, allocations: 282.8 kB / 0.5727 GB, free: 26.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.17, allocations: 1 kB / 0.5727 GB, free: 26.22 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)