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.001341/0.001341, allocations: 105 kB / 20.48 MB, free: 1.488 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.001452/0.001452, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.44/1.44, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9499/0.9499, allocations: 150 MB / 463.9 MB, free: 10.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",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.001982/0.001982, allocations: 68.48 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1977, allocations: 89.17 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6203/0.818, allocations: 171 MB / 0.8961 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.8212, allocations: 1.574 MB / 0.8977 GB, free: 10.78 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003687/0.8216, allocations: 15.88 kB / 0.8977 GB, free: 10.77 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005448/0.8221, allocations: 146.9 kB / 0.8978 GB, free: 10.62 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.824, allocations: 0.739 MB / 0.8985 GB, free: 9.879 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.8257, allocations: 0.6265 MB / 0.8991 GB, free: 9.254 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.8268, allocations: 0.709 MB / 0.8998 GB, free: 8.543 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.8271, allocations: 189.3 kB / 0.9 GB, free: 8.355 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.8282, allocations: 0.4982 MB / 0.9005 GB, free: 7.855 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.8285, allocations: 227.1 kB / 0.9007 GB, free: 7.633 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.8286, allocations: 24 kB / 0.9007 GB, free: 7.609 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.8302, allocations: 0.9352 MB / 0.9017 GB, free: 6.672 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.8303, allocations: 111.6 kB / 0.9018 GB, free: 6.562 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.8305, allocations: 171.1 kB / 0.9019 GB, free: 6.395 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.8316, allocations: 0.7223 MB / 0.9026 GB, free: 5.676 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8316, allocations: 0 / 0.9026 GB, free: 5.676 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8316, allocations: 0 / 0.9026 GB, free: 5.676 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8316, allocations: 0 / 0.9026 GB, free: 5.676 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.0009866/0.8326, allocations: 0.5883 MB / 0.9032 GB, free: 5.059 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.8326, allocations: 16.03 kB / 0.9032 GB, free: 5.043 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.8327, allocations: 4.438 kB / 0.9032 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.8327, allocations: 54.55 kB / 0.9033 GB, free: 4.977 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.8338, allocations: 155.6 kB / 0.9034 GB, free: 4.824 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.8344, allocations: 268 kB / 0.9037 GB, free: 4.539 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.8344, allocations: 16.44 kB / 0.9037 GB, free: 4.52 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.8345, allocations: 27.94 kB / 0.9037 GB, free: 4.492 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.835, allocations: 279.5 kB / 0.904 GB, free: 4.199 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.835, allocations: 0 / 0.904 GB, free: 4.199 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.835, allocations: 12 kB / 0.904 GB, free: 4.188 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.835, allocations: 4 kB / 0.904 GB, free: 4.184 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.8354, allocations: 199.8 kB / 0.9042 GB, free: 3.988 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.837, allocations: 1.175 MB / 0.9053 GB, free: 2.715 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.8373, allocations: 138.4 kB / 0.9055 GB, free: 2.57 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.8375, allocations: 80.81 kB / 0.9055 GB, free: 2.488 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.8379, allocations: 75.91 kB / 0.9056 GB, free: 2.414 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.838, allocations: 34.56 kB / 0.9057 GB, free: 2.371 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.838, allocations: 0 / 0.9057 GB, free: 2.371 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0008098/0.8388, allocations: 289.3 kB / 0.9059 GB, free: 2.086 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.8388, allocations: 51.41 kB / 0.906 GB, free: 2.023 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.8392, allocations: 312.5 kB / 0.9063 GB, free: 1.715 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.8392, allocations: 33.7 kB / 0.9063 GB, free: 1.676 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.8394, allocations: 180.2 kB / 0.9065 GB, free: 1.496 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.8394, allocations: 55.52 kB / 0.9065 GB, free: 1.441 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.8395, allocations: 45.66 kB / 0.9066 GB, free: 1.391 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.8396, allocations: 338.8 kB / 0.9069 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.8398, allocations: 71.89 kB / 0.907 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.84, allocations: 121.8 kB / 0.9071 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.8404, allocations: 192.9 kB / 0.9073 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8404, allocations: 4 kB / 0.9073 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000481/0.8409, allocations: 241.3 kB / 0.9075 GB, free: 400 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.8409, allocations: 8 kB / 0.9075 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.8409, allocations: 0 / 0.9075 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.8409, allocations: 4 kB / 0.9075 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.8411, allocations: 44.42 kB / 0.9076 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8412, allocations: 7.922 kB / 0.9076 GB, free: 336 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.8414, allocations: 35.88 kB / 0.9076 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.8414, allocations: 15.61 kB / 0.9076 GB, free: 288 kB / 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.0001657/0.8416, allocations: 145.8 kB / 0.9078 GB, free: 132 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.8416, allocations: 31.81 kB / 0.9078 GB, free: 100 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/0.8421, allocations: 220.2 kB / 0.908 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8421, allocations: 0 / 0.908 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8421, allocations: 4 kB / 0.908 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.8421, allocations: 3.938 kB / 0.908 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.8433, allocations: 0.6514 MB / 0.9086 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.8433, allocations: 4 kB / 0.9086 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.8434, allocations: 31.92 kB / 0.9087 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.8434, allocations: 0 / 0.9087 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.8434, allocations: 11.98 kB / 0.9087 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.8435, allocations: 4 kB / 0.9087 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8435, allocations: 0 / 0.9087 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.8442, allocations: 441.2 kB / 0.9091 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.8443, allocations: 47.81 kB / 0.9092 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.8443, allocations: 4 kB / 0.9092 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.8445, allocations: 11.98 kB / 0.9092 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.8445, allocations: 19.92 kB / 0.9092 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.8445, allocations: 4 kB / 0.9092 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002491/0.8448, allocations: 227.1 kB / 0.9094 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8448, allocations: 4 kB / 0.9094 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004092/0.8452, allocations: 79.88 kB / 0.9095 GB, free: 14.24 MB / 0.6856 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.001161/0.8463, allocations: 0.998 MB / 0.9105 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.8468, allocations: 167.8 kB / 0.9106 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8468, allocations: 0 / 0.9106 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.847, allocations: 91.81 kB / 0.9107 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009068/0.8479, allocations: 165.5 kB / 0.9109 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.8519, allocations: 2.924 MB / 0.9137 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.8523, allocations: 0.7793 MB / 0.9145 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.8526, allocations: 60.06 kB / 0.9145 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.8527, allocations: 87.41 kB / 0.9146 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of SimCode: time 1.022e-06/0.8527, allocations: 0 / 0.9146 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.889, allocations: 9.077 MB / 0.9235 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.08, allocations: 11.39 kB / 0.9235 GB, free: 15.94 MB / 0.7012 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.862874899001326] Failed to read output from testmodel.py, exit status != 0: 12.239852593978867 12.265048031 11.429202209 Calling exit ...