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.001394/0.001394, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.00139/0.00139, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9851/0.9851, allocations: 175.7 MB / 480.1 MB, free: 2.742 MB / 366.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.001774/0.001774, allocations: 84.22 kB / 0.6678 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1557, allocations: 94.51 MB / 0.7601 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5089/0.6646, allocations: 168.1 MB / 0.9242 GB, free: 9.578 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.6674, allocations: 1.548 MB / 0.9258 GB, free: 8.324 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.6676, allocations: 9.375 kB / 0.9258 GB, free: 8.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.6681, allocations: 152.6 kB / 0.9259 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.6698, allocations: 0.7411 MB / 0.9266 GB, free: 7.629 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.6712, allocations: 0.6083 MB / 0.9272 GB, free: 7.184 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0007351/0.672, allocations: 0.6975 MB / 0.9279 GB, free: 6.781 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003324/0.6723, allocations: 191.4 kB / 0.9281 GB, free: 6.652 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.6732, allocations: 496.2 kB / 0.9286 GB, free: 6.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.6735, allocations: 234.5 kB / 0.9288 GB, free: 6.219 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.6735, allocations: 26.66 kB / 0.9288 GB, free: 6.215 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.6749, allocations: 0.9041 MB / 0.9297 GB, free: 5.695 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.675, allocations: 116.1 kB / 0.9298 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.6752, allocations: 167.2 kB / 0.93 GB, free: 5.512 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000971/0.6762, allocations: 0.7177 MB / 0.9307 GB, free: 5.09 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6762, allocations: 0 / 0.9307 GB, free: 5.09 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6762, allocations: 0 / 0.9307 GB, free: 5.09 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6762, allocations: 2.875 kB / 0.9307 GB, free: 5.09 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.0009317/0.6771, allocations: 0.6702 MB / 0.9313 GB, free: 4.488 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.6771, allocations: 9.594 kB / 0.9313 GB, free: 4.488 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.6772, allocations: 58.75 kB / 0.9314 GB, free: 4.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.6782, allocations: 161 kB / 0.9316 GB, free: 4.352 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.6787, allocations: 313 kB / 0.9318 GB, free: 4.059 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6787, allocations: 18.88 kB / 0.9319 GB, free: 4.051 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.6788, allocations: 30.84 kB / 0.9319 GB, free: 4.039 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.6792, allocations: 276.7 kB / 0.9322 GB, free: 3.848 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6792, allocations: 4 kB / 0.9322 GB, free: 3.844 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.6792, allocations: 10.84 kB / 0.9322 GB, free: 3.836 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.6793, allocations: 11.61 kB / 0.9322 GB, free: 3.832 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.6796, allocations: 188.5 kB / 0.9324 GB, free: 3.75 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.681, allocations: 1.212 MB / 0.9335 GB, free: 2.629 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.6813, allocations: 135.3 kB / 0.9337 GB, free: 2.547 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.6814, allocations: 87.84 kB / 0.9338 GB, free: 2.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.682, allocations: 302.5 kB / 0.934 GB, free: 2.191 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.682, allocations: 36.75 kB / 0.9341 GB, free: 2.148 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.682, allocations: 0 / 0.9341 GB, free: 2.148 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.000713/0.6827, allocations: 283.5 kB / 0.9344 GB, free: 2.004 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6828, allocations: 51.41 kB / 0.9344 GB, free: 1.941 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.6831, allocations: 317.6 kB / 0.9347 GB, free: 1.742 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.6831, allocations: 25.7 kB / 0.9347 GB, free: 1.711 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.6832, allocations: 190 kB / 0.9349 GB, free: 1.539 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.6833, allocations: 56.77 kB / 0.935 GB, free: 1.488 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.6834, allocations: 46.97 kB / 0.935 GB, free: 1.453 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6835, allocations: 338.7 kB / 0.9353 GB, free: 1.121 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.6837, allocations: 65.17 kB / 0.9354 GB, free: 1.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.6839, allocations: 131.6 kB / 0.9355 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.6842, allocations: 186.9 kB / 0.9357 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6842, allocations: 4 kB / 0.9357 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004232/0.6846, allocations: 241.3 kB / 0.9359 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.6846, allocations: 7.375 kB / 0.9359 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6846, allocations: 0 / 0.9359 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.6847, allocations: 2.719 kB / 0.9359 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.6848, allocations: 44.94 kB / 0.936 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.6849, allocations: 2.719 kB / 0.936 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.685, allocations: 34.08 kB / 0.936 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.6851, allocations: 14.81 kB / 0.936 GB, free: 0.6914 MB / 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.0001348/0.6852, allocations: 148.1 kB / 0.9362 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.6853, allocations: 28.47 kB / 0.9362 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.6857, allocations: 216.4 kB / 0.9364 GB, free: 416 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6857, allocations: 3.938 kB / 0.9364 GB, free: 416 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6857, allocations: 4 kB / 0.9364 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6857, allocations: 0 / 0.9364 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.6867, allocations: 0.6911 MB / 0.9371 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6867, allocations: 3.938 kB / 0.9371 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.6868, allocations: 32.86 kB / 0.9371 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6869, allocations: 2.906 kB / 0.9371 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6869, allocations: 6.75 kB / 0.9371 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.6869, allocations: 2.344 kB / 0.9371 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6869, allocations: 2.688 kB / 0.9371 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.6875, allocations: 446.4 kB / 0.9376 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.6876, allocations: 128.3 kB / 0.9377 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.6876, allocations: 1.906 kB / 0.9377 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6878, allocations: 9.594 kB / 0.9377 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.6879, allocations: 19.23 kB / 0.9377 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.6879, allocations: 5.406 kB / 0.9377 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002019/0.6881, allocations: 227 kB / 0.9379 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6881, allocations: 4.062 kB / 0.9379 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003591/0.6884, allocations: 82.3 kB / 0.938 GB, free: 15.15 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.001185/0.6896, allocations: 1.026 MB / 0.939 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.69, allocations: 159.3 kB / 0.9392 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.69, allocations: 2.781 kB / 0.9392 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.6902, allocations: 85.78 kB / 0.9393 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.691, allocations: 167.1 kB / 0.9394 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.6944, allocations: 2.923 MB / 0.9423 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.6948, allocations: 0.7752 MB / 0.943 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.695, allocations: 64.48 kB / 0.9431 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.6951, allocations: 88.94 kB / 0.9432 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.6951, allocations: 0 / 0.9432 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.7304, allocations: 8.888 MB / 0.9519 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/8.339, allocations: 1.875 kB / 0.9519 GB, free: 5.012 MB / 0.6856 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 --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: 11.736839660996338]