Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.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.001419/0.001419, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001614/0.001614, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 1.016/1.016, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter",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.002375/0.002375, allocations: 72.11 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.186, allocations: 89.16 MB / 0.7281 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02049/0.2065, allocations: 14.07 MB / 0.7419 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006872/0.2133, allocations: 3.62 MB / 0.7454 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.2141, allocations: 27.75 kB / 0.7454 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008003/0.2149, allocations: 190.7 kB / 0.7456 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.2173, allocations: 0.7115 MB / 0.7463 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.2189, allocations: 496.9 kB / 0.7468 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.2209, allocations: 1.126 MB / 0.7479 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/0.2215, allocations: 233.8 kB / 0.7481 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.2228, allocations: 0.5761 MB / 0.7487 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/0.2233, allocations: 226.9 kB / 0.7489 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.2233, allocations: 16 kB / 0.7489 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.2243, allocations: 439.2 kB / 0.7493 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.2244, allocations: 63.64 kB / 0.7494 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.2247, allocations: 143.3 kB / 0.7495 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2257, allocations: 0.5641 MB / 0.7501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2257, allocations: 0 / 0.7501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2257, allocations: 0 / 0.7501 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.2257, allocations: 4 kB / 0.7501 GB, free: 10.5 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001117/0.2268, allocations: 0.6402 MB / 0.7507 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2269, allocations: 16.02 kB / 0.7507 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.2269, allocations: 54.73 kB / 0.7508 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.227, allocations: 48.66 kB / 0.7508 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.228, allocations: 383.4 kB / 0.7512 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2281, allocations: 12.33 kB / 0.7512 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.2281, allocations: 23.94 kB / 0.7512 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2285, allocations: 204.9 kB / 0.7514 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2286, allocations: 0 / 0.7514 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.2286, allocations: 4 kB / 0.7514 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2286, allocations: 8 kB / 0.7514 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.229, allocations: 139.9 kB / 0.7516 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.2306, allocations: 0.5733 MB / 0.7521 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.231, allocations: 118.6 kB / 0.7522 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.2313, allocations: 72.81 kB / 0.7523 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.2315, allocations: 31.97 kB / 0.7523 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.2316, allocations: 38.5 kB / 0.7524 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 2.514e-06/0.2316, allocations: 0 / 0.7524 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0009172/0.2325, allocations: 217.3 kB / 0.7526 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.2326, allocations: 51.41 kB / 0.7526 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.2331, allocations: 345.7 kB / 0.753 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.2332, allocations: 29.7 kB / 0.753 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.2334, allocations: 204.3 kB / 0.7532 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.2335, allocations: 39.64 kB / 0.7532 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2336, allocations: 29.72 kB / 0.7533 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002291/0.2338, allocations: 342.8 kB / 0.7536 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.234, allocations: 52.81 kB / 0.7536 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004001/0.2344, allocations: 246.4 kB / 0.7539 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.2349, allocations: 113.7 kB / 0.754 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2349, allocations: 0 / 0.754 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006179/0.2355, allocations: 181.2 kB / 0.7541 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2355, allocations: 8 kB / 0.7542 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2355, allocations: 4.031 kB / 0.7542 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.2356, allocations: 3.938 kB / 0.7542 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2358, allocations: 31.92 kB / 0.7542 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.2358, allocations: 4 kB / 0.7542 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.236, allocations: 19.88 kB / 0.7542 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.2361, allocations: 4 kB / 0.7542 GB, free: 6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00036/0.2364, allocations: 156.1 kB / 0.7544 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003788/0.2368, allocations: 243.4 kB / 0.7546 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004089/0.2372, allocations: 113.6 kB / 0.7547 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.2372, allocations: 0 / 0.7547 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0004965/0.2377, allocations: 181.3 kB / 0.7549 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.2377, allocations: 4 kB / 0.7549 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.2377, allocations: 0 / 0.7549 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-06/0.2377, allocations: 0 / 0.7549 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2378, allocations: 31.91 kB / 0.7549 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.2378, allocations: 0 / 0.7549 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2381, allocations: 12.09 kB / 0.7549 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.2381, allocations: 7.984 kB / 0.7549 GB, free: 5.199 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001624/0.2382, allocations: 192.2 kB / 0.7551 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.2383, allocations: 39.75 kB / 0.7552 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.2391, allocations: 241 kB / 0.7554 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.2391, allocations: 0 / 0.7554 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2391, allocations: 0 / 0.7554 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2391, allocations: 0 / 0.7554 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.2405, allocations: 0.5898 MB / 0.756 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.2405, allocations: 4 kB / 0.756 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.2407, allocations: 31.86 kB / 0.756 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2407, allocations: 0 / 0.756 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2407, allocations: 4 kB / 0.756 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.2407, allocations: 0 / 0.756 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2407, allocations: 4 kB / 0.756 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.2414, allocations: 329.6 kB / 0.7563 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.2416, allocations: 51.84 kB / 0.7564 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.2416, allocations: 4 kB / 0.7564 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.2419, allocations: 11.98 kB / 0.7564 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.242, allocations: 15.91 kB / 0.7564 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.242, allocations: 8 kB / 0.7564 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002679/0.2423, allocations: 239.2 kB / 0.7566 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2423, allocations: 0 / 0.7566 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007433/0.243, allocations: 151.6 kB / 0.7568 GB, free: 3.219 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001459/0.2445, allocations: 0.9387 MB / 0.7577 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007896/0.2453, allocations: 183 kB / 0.7579 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2453, allocations: 0 / 0.7579 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.2455, allocations: 84.02 kB / 0.7579 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.2469, allocations: 148.5 kB / 0.7581 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.364/0.611, allocations: 2.66 MB / 0.7607 GB, free: 35.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.6111, allocations: 191.4 kB / 0.7609 GB, free: 35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.6114, allocations: 79.33 kB / 0.7609 GB, free: 35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.6116, allocations: 118.1 kB / 0.7611 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of SimCode: time 1.322e-06/0.6116, allocations: 1.375 kB / 0.7611 GB, free: 34.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.6511, allocations: 10.39 MB / 0.7712 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.23, allocations: 4.156 kB / 0.7712 GB, free: 33.54 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.258332540281117] Failed to read output from testmodel.py, exit status != 0: 12.348666213918477 12.370112909 12.141293388 Calling exit ...