Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.00182/0.00182, allocations: 108.6 kB / 16.45 MB, free: 6.035 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.002009/0.002009, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.056/1.056, allocations: 175.8 MB / 478.4 MB, free: 8.578 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 65.64 kB / 0.6652 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1974, allocations: 94.54 MB / 0.7575 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6047/0.8021, allocations: 167.9 MB / 0.9215 GB, free: 136 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.8052, allocations: 1.551 MB / 0.923 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004555/0.8057, allocations: 11.94 kB / 0.923 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.8063, allocations: 150.9 kB / 0.9232 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.8082, allocations: 0.7351 MB / 0.9239 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.8099, allocations: 0.6063 MB / 0.9245 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.811, allocations: 0.7051 MB / 0.9252 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.8114, allocations: 196.8 kB / 0.9254 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.8124, allocations: 494.3 kB / 0.9258 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.8127, allocations: 238.9 kB / 0.9261 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.8127, allocations: 24 kB / 0.9261 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.8142, allocations: 0.904 MB / 0.927 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.8144, allocations: 107.7 kB / 0.9271 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.8146, allocations: 171.1 kB / 0.9272 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.8158, allocations: 0.7147 MB / 0.9279 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8158, allocations: 0 / 0.9279 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8158, allocations: 0 / 0.9279 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.8158, allocations: 0 / 0.9279 GB, free: 9.543 MB / 0.7169 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.001106/0.8169, allocations: 0.6731 MB / 0.9286 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.8169, allocations: 8.031 kB / 0.9286 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.21e-05/0.817, allocations: 54.55 kB / 0.9287 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.8182, allocations: 163.6 kB / 0.9288 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.8188, allocations: 313.9 kB / 0.9291 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.8189, allocations: 21.25 kB / 0.9291 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.8189, allocations: 27.94 kB / 0.9292 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.8194, allocations: 275.4 kB / 0.9294 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.8195, allocations: 0 / 0.9294 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.8195, allocations: 12 kB / 0.9294 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.8195, allocations: 7.938 kB / 0.9294 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.8199, allocations: 199.8 kB / 0.9296 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.8215, allocations: 1.209 MB / 0.9308 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.8217, allocations: 130.4 kB / 0.9309 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.8219, allocations: 90.11 kB / 0.931 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/0.8225, allocations: 303.2 kB / 0.9313 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.8226, allocations: 34.5 kB / 0.9313 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.163e-06/0.8226, allocations: 0 / 0.9313 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007663/0.8234, allocations: 283.7 kB / 0.9316 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.8234, allocations: 55.41 kB / 0.9317 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.8238, allocations: 312.5 kB / 0.932 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.8238, allocations: 29.7 kB / 0.932 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.8239, allocations: 188.3 kB / 0.9322 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.824, allocations: 51.53 kB / 0.9322 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.8241, allocations: 53.66 kB / 0.9323 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8242, allocations: 338.8 kB / 0.9326 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.8244, allocations: 67.88 kB / 0.9327 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.8246, allocations: 122.3 kB / 0.9328 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.825, allocations: 191.8 kB / 0.933 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.825, allocations: 0 / 0.933 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004621/0.8255, allocations: 245.3 kB / 0.9332 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8255, allocations: 8 kB / 0.9332 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8255, allocations: 0.6875 kB / 0.9332 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.8255, allocations: 4 kB / 0.9332 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.8257, allocations: 43.91 kB / 0.9333 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.8257, allocations: 4 kB / 0.9333 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.8259, allocations: 31.77 kB / 0.9333 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.8259, allocations: 12.62 kB / 0.9333 GB, free: 3.676 MB / 0.7169 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.0001507/0.8261, allocations: 149.8 kB / 0.9334 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.8261, allocations: 31.81 kB / 0.9335 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.8266, allocations: 213.4 kB / 0.9337 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8266, allocations: 4 kB / 0.9337 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8266, allocations: 3.984 kB / 0.9337 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8266, allocations: 3.938 kB / 0.9337 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.8277, allocations: 0.6823 MB / 0.9344 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8277, allocations: 5.094 kB / 0.9344 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.8278, allocations: 35.92 kB / 0.9344 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8278, allocations: 0 / 0.9344 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.8279, allocations: 8 kB / 0.9344 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.8279, allocations: 11.92 kB / 0.9344 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.8279, allocations: 11.56 kB / 0.9344 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.8285, allocations: 432.2 kB / 0.9348 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.8287, allocations: 128.9 kB / 0.935 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.8287, allocations: 4 kB / 0.935 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.8289, allocations: 16.05 kB / 0.935 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.8289, allocations: 15.92 kB / 0.935 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.829, allocations: 4 kB / 0.935 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002438/0.8292, allocations: 227 kB / 0.9352 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8292, allocations: 0 / 0.9352 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003755/0.8296, allocations: 83.88 kB / 0.9353 GB, free: 1.488 MB / 0.7169 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.001278/0.8309, allocations: 1.019 MB / 0.9363 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004279/0.8313, allocations: 171.8 kB / 0.9365 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8313, allocations: 0 / 0.9365 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.8315, allocations: 79.83 kB / 0.9365 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008189/0.8323, allocations: 171.5 kB / 0.9367 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.8361, allocations: 2.927 MB / 0.9395 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.8366, allocations: 0.7756 MB / 0.9403 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.8368, allocations: 67.81 kB / 0.9404 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.837, allocations: 87.41 kB / 0.9405 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.837, allocations: 0 / 0.9405 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.872, allocations: 8.885 MB / 0.9491 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/9.131, allocations: 4 kB / 0.9491 GB, free: 3.305 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.90554562304169] Failed to read output from testmodel.py, exit status != 0: 9.202790056820959 9.220474453 8.401242873 Calling exit ...