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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002745/0.002745, allocations: 212.7 kB / 22.99 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.946/0.946, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 70.52 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1878, allocations: 89.18 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6095/0.7974, allocations: 147.6 MB / 0.8723 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003269/0.8006, allocations: 1.49 MB / 0.8738 GB, free: 120 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/0.8011, allocations: 19.81 kB / 0.8738 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.8017, allocations: 155.1 kB / 0.8739 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.8039, allocations: 0.6962 MB / 0.8746 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.8058, allocations: 0.6198 MB / 0.8752 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.807, allocations: 0.7011 MB / 0.8759 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.8075, allocations: 185.3 kB / 0.8761 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.8088, allocations: 0.4982 MB / 0.8766 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.8093, allocations: 219.1 kB / 0.8768 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.202e-05/0.8094, allocations: 24 kB / 0.8768 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.8109, allocations: 0.7011 MB / 0.8775 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.8111, allocations: 115.6 kB / 0.8776 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.8114, allocations: 143.3 kB / 0.8777 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.8127, allocations: 0.6876 MB / 0.8784 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.8128, allocations: 4 kB / 0.8784 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8128, allocations: 0 / 0.8784 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.8128, allocations: 0 / 0.8784 GB, free: 11.36 MB / 0.6544 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.001299/0.8141, allocations: 0.59 MB / 0.879 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8141, allocations: 12.03 kB / 0.879 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.302e-05/0.8142, allocations: 58.55 kB / 0.8791 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.8154, allocations: 155.6 kB / 0.8792 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/0.8161, allocations: 264 kB / 0.8795 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.8161, allocations: 16.94 kB / 0.8795 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.8162, allocations: 27.88 kB / 0.8795 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.8167, allocations: 275.5 kB / 0.8798 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.8167, allocations: 0 / 0.8798 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.8168, allocations: 12 kB / 0.8798 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8168, allocations: 4 kB / 0.8798 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.8172, allocations: 196.3 kB / 0.88 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.8188, allocations: 0.985 MB / 0.8809 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.8191, allocations: 130.5 kB / 0.8811 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.8193, allocations: 85.42 kB / 0.8811 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/0.8198, allocations: 75.91 kB / 0.8812 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.8198, allocations: 42.5 kB / 0.8812 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.8198, allocations: 0 / 0.8812 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0008086/0.8206, allocations: 283.5 kB / 0.8815 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.8206, allocations: 51.41 kB / 0.8816 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.821, allocations: 312.5 kB / 0.8819 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.821, allocations: 33.7 kB / 0.8819 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.8212, allocations: 180.2 kB / 0.8821 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.8213, allocations: 59.47 kB / 0.8821 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.8214, allocations: 45.7 kB / 0.8822 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.8216, allocations: 342.8 kB / 0.8825 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.8218, allocations: 67.89 kB / 0.8826 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.8221, allocations: 203.5 kB / 0.8828 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.8224, allocations: 185 kB / 0.8829 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8225, allocations: 0 / 0.8829 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005161/0.823, allocations: 245.3 kB / 0.8832 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.823, allocations: 8 kB / 0.8832 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.823, allocations: 0.875 kB / 0.8832 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.823, allocations: 4 kB / 0.8832 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.8232, allocations: 39.92 kB / 0.8832 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8232, allocations: 3.984 kB / 0.8832 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.8235, allocations: 27.84 kB / 0.8832 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.8235, allocations: 15.92 kB / 0.8833 GB, free: 6.121 MB / 0.6544 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.0001707/0.8237, allocations: 157.7 kB / 0.8834 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.8237, allocations: 35.81 kB / 0.8834 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.8242, allocations: 212.1 kB / 0.8836 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.8243, allocations: 0 / 0.8836 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.8243, allocations: 4 kB / 0.8837 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8243, allocations: 144 / 0.8837 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.8255, allocations: 0.6462 MB / 0.8843 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8255, allocations: 3.938 kB / 0.8843 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.8256, allocations: 27.98 kB / 0.8843 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.8257, allocations: 4 kB / 0.8843 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.8257, allocations: 11.94 kB / 0.8843 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8257, allocations: 0 / 0.8843 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8257, allocations: 12.16 kB / 0.8843 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.8264, allocations: 431.6 kB / 0.8848 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.8265, allocations: 47.67 kB / 0.8848 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.8266, allocations: 7.984 kB / 0.8848 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.8267, allocations: 8 kB / 0.8848 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.8268, allocations: 19.91 kB / 0.8848 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.8268, allocations: 8 kB / 0.8848 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002444/0.8271, allocations: 231.1 kB / 0.8851 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8271, allocations: 0 / 0.8851 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004099/0.8275, allocations: 75.94 kB / 0.8851 GB, free: 4.09 MB / 0.6544 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.001214/0.8287, allocations: 1.011 MB / 0.8861 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.8292, allocations: 169.3 kB / 0.8863 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8292, allocations: 3.938 kB / 0.8863 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.8294, allocations: 79.89 kB / 0.8864 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/0.8303, allocations: 167.5 kB / 0.8865 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.8346, allocations: 2.909 MB / 0.8894 GB, free: 15.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.8348, allocations: 175 kB / 0.8895 GB, free: 15.37 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.835, allocations: 66.92 kB / 0.8896 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.8352, allocations: 83.41 kB / 0.8897 GB, free: 15.22 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.8352, allocations: 0 / 0.8897 GB, free: 15.22 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.8772, allocations: 9.975 MB / 0.8994 GB, free: 5.559 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.86, allocations: 2.969 kB / 0.8994 GB, free: 5.559 MB / 0.67 GB " [Timeout remaining time 648] (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: 15.65169421583414] Failed to read output from testmodel.py, exit status != 0: 11.964708676096052 11.979500217 11.163711268 Calling exit ...