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.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.000717/0.000717, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0007609/0.0007609, allocations: 207.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.9642/0.9642, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8169/0.8169, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(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: IDEAS 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.0008933/0.0008933, allocations: 65.48 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.578, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1555/0.7334, allocations: 147.6 MB / 0.962 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.7358, allocations: 1.497 MB / 0.9634 GB, free: 44 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.736, allocations: 19.81 kB / 0.9635 GB, free: 24 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.7365, allocations: 147 kB / 0.9636 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.7378, allocations: 0.7157 MB / 0.9643 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.739, allocations: 0.6368 MB / 0.9649 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000709/0.7397, allocations: 0.7167 MB / 0.9656 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.74, allocations: 183.7 kB / 0.9658 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008601/0.7409, allocations: 0.506 MB / 0.9663 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.7411, allocations: 215.1 kB / 0.9665 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.7412, allocations: 24 kB / 0.9665 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.7423, allocations: 0.705 MB / 0.9672 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.7424, allocations: 115.6 kB / 0.9673 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.7425, allocations: 139.3 kB / 0.9675 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.7434, allocations: 0.6892 MB / 0.9681 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7435, allocations: 4 kB / 0.9681 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7435, allocations: 0 / 0.9681 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.7435, allocations: 4 kB / 0.9681 GB, free: 11.23 MB / 0.7448 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.0007583/0.7442, allocations: 0.59 MB / 0.9687 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7443, allocations: 12.03 kB / 0.9687 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.7443, allocations: 54.55 kB / 0.9688 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007317/0.7451, allocations: 155.6 kB / 0.9689 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.7455, allocations: 256.1 kB / 0.9692 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.7455, allocations: 24.38 kB / 0.9692 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.7456, allocations: 24 kB / 0.9692 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.746, allocations: 271.5 kB / 0.9695 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.746, allocations: 0 / 0.9695 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.746, allocations: 12 kB / 0.9695 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.746, allocations: 8 kB / 0.9695 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.7462, allocations: 191.8 kB / 0.9697 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.7474, allocations: 0.9773 MB / 0.9706 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.7476, allocations: 130.5 kB / 0.9708 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.7477, allocations: 88.8 kB / 0.9708 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002631/0.7479, allocations: 71.86 kB / 0.9709 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.7479, allocations: 38.5 kB / 0.9709 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.7479, allocations: 4 kB / 0.9709 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004899/0.7484, allocations: 277.6 kB / 0.9712 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.7485, allocations: 51.41 kB / 0.9713 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.7487, allocations: 320.5 kB / 0.9716 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.7487, allocations: 29.7 kB / 0.9716 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.7488, allocations: 180.3 kB / 0.9718 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.7489, allocations: 59.48 kB / 0.9718 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.7489, allocations: 45.7 kB / 0.9719 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.749, allocations: 338.8 kB / 0.9722 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.757e-05/0.7491, allocations: 67.94 kB / 0.9723 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.7493, allocations: 206.1 kB / 0.9725 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.7495, allocations: 185 kB / 0.9726 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.7495, allocations: 0 / 0.9726 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002692/0.7497, allocations: 241.3 kB / 0.9729 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7498, allocations: 11.98 kB / 0.9729 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7498, allocations: 0 / 0.9729 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7498, allocations: 7.938 kB / 0.9729 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.7499, allocations: 43.92 kB / 0.9729 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7499, allocations: 4.031 kB / 0.9729 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.75, allocations: 35.77 kB / 0.973 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.75, allocations: 12 kB / 0.973 GB, free: 5.996 MB / 0.7448 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 9.785e-05/0.7501, allocations: 153.7 kB / 0.9731 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.7501, allocations: 31.81 kB / 0.9731 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.7504, allocations: 215 kB / 0.9734 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7504, allocations: 0 / 0.9734 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7504, allocations: 4 kB / 0.9734 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7504, allocations: 4 kB / 0.9734 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.751, allocations: 0.6319 MB / 0.974 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.751, allocations: 0 / 0.974 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.895e-05/0.7511, allocations: 35.97 kB / 0.974 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.7511, allocations: 12.16 kB / 0.974 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.7511, allocations: 4 kB / 0.974 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7511, allocations: 0 / 0.974 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7511, allocations: 7.938 kB / 0.974 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.7515, allocations: 425.2 kB / 0.9744 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.7516, allocations: 59.64 kB / 0.9745 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.7516, allocations: 12 kB / 0.9745 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.7517, allocations: 12.19 kB / 0.9745 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.7517, allocations: 19.97 kB / 0.9745 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.7517, allocations: 4 kB / 0.9745 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001488/0.7519, allocations: 227 kB / 0.9748 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7519, allocations: 0 / 0.9748 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000276/0.7522, allocations: 87.88 kB / 0.9748 GB, free: 3.953 MB / 0.7448 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.0007354/0.7529, allocations: 1.01 MB / 0.9758 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.7532, allocations: 167.8 kB / 0.976 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7532, allocations: 3.938 kB / 0.976 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.7533, allocations: 80.5 kB / 0.9761 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.7538, allocations: 163.1 kB / 0.9762 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.7563, allocations: 2.907 MB / 0.9791 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.7565, allocations: 167.2 kB / 0.9792 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.7566, allocations: 71.06 kB / 0.9793 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.7567, allocations: 87.41 kB / 0.9794 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of SimCode: time 5.41e-07/0.7567, allocations: 0 / 0.9794 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.7787, allocations: 9.983 MB / 0.9891 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/7.585, allocations: 12.42 kB / 0.9891 GB, free: 5.375 MB / 0.7605 GB " [Timeout remaining time 652] (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: 10.591290298849344] Failed to read output from testmodel.py, exit status != 0: 7.664016361813992 7.674296962 6.928233083 Calling exit ...