Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 116.3 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 196.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 248.5 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8236/0.8236, allocations: 129.2 MB / 432.5 MB, free: 13.22 MB / 350.1 MB " [Timeout remaining time 179] 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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.89 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4225, allocations: 83.44 MB / 0.6802 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2055/0.628, allocations: 167.9 MB / 0.8442 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.6309, allocations: 1.557 MB / 0.8457 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.6312, allocations: 11.94 kB / 0.8457 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.6316, allocations: 146.9 kB / 0.8458 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.6333, allocations: 0.7312 MB / 0.8466 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.6348, allocations: 0.6214 MB / 0.8472 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000809/0.6356, allocations: 0.705 MB / 0.8478 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.6359, allocations: 193 kB / 0.848 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009312/0.6369, allocations: 494.2 kB / 0.8485 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.6371, allocations: 227 kB / 0.8487 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.6372, allocations: 23.98 kB / 0.8487 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.6386, allocations: 0.9118 MB / 0.8496 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.6387, allocations: 115.6 kB / 0.8497 GB, free: 15.74 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.6389, allocations: 163.2 kB / 0.8499 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.6399, allocations: 0.7193 MB / 0.8506 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6399, allocations: 0 / 0.8506 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6399, allocations: 0 / 0.8506 GB, free: 14.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.6399, allocations: 0 / 0.8506 GB, free: 14.86 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001015/0.6409, allocations: 0.6653 MB / 0.8513 GB, free: 14.15 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.641, allocations: 12.03 kB / 0.8513 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.355e-05/0.6411, allocations: 58.53 kB / 0.8513 GB, free: 14.07 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.6422, allocations: 155.6 kB / 0.8515 GB, free: 13.92 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.6427, allocations: 325.9 kB / 0.8518 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.6427, allocations: 20.38 kB / 0.8518 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.6428, allocations: 20 kB / 0.8518 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.6433, allocations: 279.4 kB / 0.8521 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.6433, allocations: 0 / 0.8521 GB, free: 13.22 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.6433, allocations: 12 kB / 0.8521 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.6433, allocations: 8 kB / 0.8521 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003947/0.6437, allocations: 187.8 kB / 0.8523 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.6452, allocations: 1.221 MB / 0.8535 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.6454, allocations: 130.5 kB / 0.8536 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.6456, allocations: 88.81 kB / 0.8537 GB, free: 11.47 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/0.6462, allocations: 299.2 kB / 0.854 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6462, allocations: 38.56 kB / 0.854 GB, free: 11.07 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.6462, allocations: 4 kB / 0.854 GB, free: 11.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007543/0.647, allocations: 280.2 kB / 0.8543 GB, free: 10.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.647, allocations: 55.34 kB / 0.8543 GB, free: 10.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.6473, allocations: 312.5 kB / 0.8546 GB, free: 10.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.6474, allocations: 33.64 kB / 0.8547 GB, free: 10.37 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.6475, allocations: 188.3 kB / 0.8548 GB, free: 10.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.6476, allocations: 51.59 kB / 0.8549 GB, free: 10.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.6476, allocations: 41.7 kB / 0.8549 GB, free: 10.09 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6478, allocations: 342.8 kB / 0.8553 GB, free: 9.742 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.648, allocations: 63.95 kB / 0.8553 GB, free: 9.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.6482, allocations: 125.6 kB / 0.8554 GB, free: 9.539 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.6485, allocations: 192.8 kB / 0.8556 GB, free: 9.336 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6485, allocations: 3.938 kB / 0.8556 GB, free: 9.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000449/0.649, allocations: 245.3 kB / 0.8559 GB, free: 9.086 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.649, allocations: 4 kB / 0.8559 GB, free: 9.082 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.649, allocations: 4 kB / 0.8559 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.649, allocations: 0 / 0.8559 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.6492, allocations: 43.91 kB / 0.8559 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6492, allocations: 4 kB / 0.8559 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.6494, allocations: 43.8 kB / 0.856 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.6494, allocations: 4 kB / 0.856 GB, free: 8.984 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001412/0.6496, allocations: 149.8 kB / 0.8561 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.6496, allocations: 27.81 kB / 0.8561 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.6501, allocations: 228.3 kB / 0.8563 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.6501, allocations: 0 / 0.8563 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6501, allocations: 0 / 0.8563 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6501, allocations: 7.938 kB / 0.8563 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.6511, allocations: 0.6953 MB / 0.857 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6511, allocations: 0 / 0.857 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.6513, allocations: 31.92 kB / 0.8571 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.6513, allocations: 4 kB / 0.8571 GB, free: 7.754 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.6513, allocations: 4 kB / 0.8571 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6513, allocations: 0 / 0.8571 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6513, allocations: 4 kB / 0.8571 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.6519, allocations: 445.2 kB / 0.8575 GB, free: 7.273 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.6521, allocations: 120.9 kB / 0.8576 GB, free: 7.137 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.6521, allocations: 8 kB / 0.8576 GB, free: 7.129 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.6523, allocations: 8 kB / 0.8576 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.6523, allocations: 20 kB / 0.8576 GB, free: 7.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.6523, allocations: 8 kB / 0.8577 GB, free: 7.094 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002229/0.6525, allocations: 227 kB / 0.8579 GB, free: 6.875 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6525, allocations: 4 kB / 0.8579 GB, free: 6.871 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003833/0.6529, allocations: 87.94 kB / 0.858 GB, free: 6.785 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001207/0.6541, allocations: 1.023 MB / 0.859 GB, free: 5.723 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.6545, allocations: 163.8 kB / 0.8591 GB, free: 5.562 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6545, allocations: 0 / 0.8591 GB, free: 5.562 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.6547, allocations: 87.81 kB / 0.8592 GB, free: 5.477 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008241/0.6555, allocations: 172.8 kB / 0.8594 GB, free: 5.312 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.6592, allocations: 2.916 MB / 0.8622 GB, free: 2.254 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.6596, allocations: 0.7756 MB / 0.863 GB, free: 1.453 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.6598, allocations: 66.92 kB / 0.863 GB, free: 1.383 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.6599, allocations: 87.41 kB / 0.8631 GB, free: 1.297 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.6599, allocations: 0 / 0.8631 GB, free: 1.297 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3556/1.016, allocations: 8.866 MB / 0.8718 GB, free: 175.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.388, allocations: 11.84 kB / 0.8718 GB, free: 175.9 MB / 0.67 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.644284521229565] Failed to read output from testmodel.py, exit status != 0: 9.458643579855561 9.469740637 8.827317739 Calling exit ...