Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0071/0.0071, allocations: 106.3 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 199.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7607/0.7607, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 63.8 kB / 0.5808 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1444, allocations: 80.22 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5653/0.7098, allocations: 237.5 MB / 0.8911 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.7291, allocations: 15.78 MB / 0.9065 GB, free: 8.688 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.7313, allocations: 59.62 kB / 0.9066 GB, free: 8.629 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.7339, allocations: 1.076 MB / 0.9077 GB, free: 7.547 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006964/0.7409, allocations: 3.078 MB / 0.9107 GB, free: 4.457 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.7447, allocations: 1.702 MB / 0.9123 GB, free: 2.773 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004378/0.7491, allocations: 3.446 MB / 0.9157 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.7508, allocations: 1.294 MB / 0.917 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005653/0.7565, allocations: 2.573 MB / 0.9195 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.7586, allocations: 1.085 MB / 0.9205 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.759, allocations: 127.9 kB / 0.9206 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005965/0.7649, allocations: 3.106 MB / 0.9237 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007532/0.7657, allocations: 470.5 kB / 0.9241 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.7673, allocations: 0.8163 MB / 0.9249 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.7733, allocations: 2.984 MB / 0.9278 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.7733, allocations: 0 / 0.9278 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7734, allocations: 3.938 kB / 0.9278 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.626e-05/0.7734, allocations: 0 / 0.9278 GB, free: 2.828 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004051/0.7775, allocations: 2.005 MB / 0.9298 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.7775, allocations: 16.03 kB / 0.9298 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002406/0.7778, allocations: 148.2 kB / 0.93 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.7805, allocations: 0.4975 MB / 0.9304 GB, free: 104 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.7829, allocations: 1.169 MB / 0.9316 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-05/0.783, allocations: 81.98 kB / 0.9317 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.7831, allocations: 104 kB / 0.9318 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.7853, allocations: 1.338 MB / 0.9331 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.7854, allocations: 7.938 kB / 0.9331 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.7855, allocations: 47.98 kB / 0.9331 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.7855, allocations: 41.98 kB / 0.9332 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.7877, allocations: 1.057 MB / 0.9342 GB, free: 12.08 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007661/0.7954, allocations: 7.395 MB / 0.9414 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.7968, allocations: 0.5386 MB / 0.9419 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.7974, allocations: 261.2 kB / 0.9422 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.7978, allocations: 283.6 kB / 0.9425 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.7978, allocations: 38.78 kB / 0.9425 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.7978, allocations: 0 / 0.9425 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002262/0.8001, allocations: 0.8408 MB / 0.9433 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.8001, allocations: 51.41 kB / 0.9434 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.802, allocations: 1.395 MB / 0.9447 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.8021, allocations: 37.64 kB / 0.9448 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.8027, allocations: 0.7026 MB / 0.9455 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.8028, allocations: 122.4 kB / 0.9456 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.803, allocations: 170.3 kB / 0.9457 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8032, allocations: 337.9 kB / 0.9461 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.8039, allocations: 320.6 kB / 0.9464 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.8049, allocations: 0.7073 MB / 0.9471 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.8065, allocations: 0.9468 MB / 0.948 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.8066, allocations: 7.938 kB / 0.948 GB, free: 13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00232/0.8089, allocations: 1.058 MB / 0.949 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.8089, allocations: 12 kB / 0.949 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.809, allocations: 15.94 kB / 0.949 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.809, allocations: 16 kB / 0.9491 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.8098, allocations: 215.7 kB / 0.9493 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.8098, allocations: 23.92 kB / 0.9493 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.8111, allocations: 174.7 kB / 0.9495 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.8112, allocations: 43.98 kB / 0.9495 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001092/0.8123, allocations: 0.569 MB / 0.9501 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009568/0.8133, allocations: 0.715 MB / 0.9507 GB, free: 9.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001495/0.8148, allocations: 0.942 MB / 0.9517 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.501e-06/0.8148, allocations: 0.8594 kB / 0.9517 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002167/0.817, allocations: 1.069 MB / 0.9527 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.817, allocations: 12 kB / 0.9527 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.817, allocations: 12.88 kB / 0.9527 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.817, allocations: 20 kB / 0.9528 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.8178, allocations: 207.7 kB / 0.953 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.8179, allocations: 23.92 kB / 0.953 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.8191, allocations: 139.3 kB / 0.9531 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.8192, allocations: 43.98 kB / 0.9532 GB, free: 7.344 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002303/0.8194, allocations: 243.8 kB / 0.9534 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.8196, allocations: 138.3 kB / 0.9535 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.8212, allocations: 0.6417 MB / 0.9541 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.8212, allocations: 4 kB / 0.9541 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8212, allocations: 4 kB / 0.9542 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8212, allocations: 0 / 0.9542 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.8246, allocations: 1.892 MB / 0.956 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.8246, allocations: 4 kB / 0.956 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.8251, allocations: 87.86 kB / 0.9561 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.8251, allocations: 8 kB / 0.9561 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.8251, allocations: 20.14 kB / 0.9561 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.8251, allocations: 4 kB / 0.9561 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8251, allocations: 7.938 kB / 0.9561 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.8266, allocations: 0.8113 MB / 0.9569 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004852/0.8271, allocations: 291.1 kB / 0.9572 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.8273, allocations: 8 kB / 0.9572 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.8283, allocations: 71.86 kB / 0.9573 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.8284, allocations: 39.84 kB / 0.9573 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.8285, allocations: 15.98 kB / 0.9573 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001413/0.8299, allocations: 1.009 MB / 0.9583 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8299, allocations: 0 / 0.9583 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001876/0.8318, allocations: 0.5773 MB / 0.9589 GB, free: 1.266 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002197/0.834, allocations: 1.505 MB / 0.9603 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002686/0.8367, allocations: 1.156 MB / 0.9615 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8367, allocations: 0 / 0.9615 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.8374, allocations: 252.8 kB / 0.9617 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/0.8408, allocations: 0.7323 MB / 0.9624 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.8577, allocations: 9.831 MB / 0.972 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/0.8586, allocations: 1.194 MB / 0.9732 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001344/0.8599, allocations: 391.8 kB / 0.9736 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/0.8606, allocations: 499.3 kB / 0.974 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.8606, allocations: 0 / 0.974 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05938/0.9199, allocations: 35.57 MB / 1.009 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.565/10.49, allocations: 3.5 kB / 1.009 GB, free: 13.92 MB / 0.7794 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)