Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) 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.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_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.005601/0.005601, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001173/0.001173, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8983/0.8983, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3942, allocations: 80.92 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6097/1.004, allocations: 237.5 MB / 0.8961 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01873/1.023, allocations: 15.77 MB / 0.9115 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/1.025, allocations: 60.69 kB / 0.9116 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/1.028, allocations: 1.039 MB / 0.9126 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007987/1.036, allocations: 2.967 MB / 0.9155 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004637/1.04, allocations: 1.691 MB / 0.9171 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005188/1.046, allocations: 3.438 MB / 0.9205 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/1.047, allocations: 1.286 MB / 0.9217 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005649/1.053, allocations: 2.528 MB / 0.9242 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/1.055, allocations: 1.083 MB / 0.9253 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/1.055, allocations: 120.2 kB / 0.9254 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005825/1.061, allocations: 3.092 MB / 0.9284 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007772/1.062, allocations: 484 kB / 0.9289 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001365/1.063, allocations: 0.8097 MB / 0.9296 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006223/1.07, allocations: 2.987 MB / 0.9326 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.07, allocations: 1 kB / 0.9326 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.472e-06/1.07, allocations: 0 / 0.9326 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.582e-05/1.07, allocations: 0.9062 kB / 0.9326 GB, free: 0.5508 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.003975/1.074, allocations: 2.01 MB / 0.9345 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.074, allocations: 10.88 kB / 0.9345 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/1.074, allocations: 150.7 kB / 0.9347 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/1.077, allocations: 0.4983 MB / 0.9352 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/1.079, allocations: 1.167 MB / 0.9363 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/1.079, allocations: 76.66 kB / 0.9364 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/1.08, allocations: 102.1 kB / 0.9365 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/1.082, allocations: 1.351 MB / 0.9378 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.082, allocations: 8.375 kB / 0.9378 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/1.082, allocations: 44.55 kB / 0.9378 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/1.082, allocations: 48.3 kB / 0.9379 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/1.084, allocations: 1.053 MB / 0.9389 GB, free: 14.61 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.008337/1.093, allocations: 7.386 MB / 0.9461 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.094, allocations: 0.5324 MB / 0.9467 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/1.095, allocations: 266 kB / 0.9469 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/1.095, allocations: 284.2 kB / 0.9472 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/1.095, allocations: 37 kB / 0.9472 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 4.338e-06/1.095, allocations: 0 / 0.9472 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002442/1.098, allocations: 0.8434 MB / 0.948 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.098, allocations: 57.09 kB / 0.9481 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/1.1, allocations: 1.39 MB / 0.9495 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.1, allocations: 35.42 kB / 0.9495 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/1.101, allocations: 0.7009 MB / 0.9502 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/1.101, allocations: 125.6 kB / 0.9503 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/1.101, allocations: 169.8 kB / 0.9505 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.101, allocations: 345 kB / 0.9508 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008684/1.102, allocations: 319.3 kB / 0.9511 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.103, allocations: 0.7088 MB / 0.9518 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/1.105, allocations: 0.9493 MB / 0.9527 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/1.105, allocations: 6.938 kB / 0.9527 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00252/1.108, allocations: 1.064 MB / 0.9538 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.108, allocations: 13.84 kB / 0.9538 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.108, allocations: 10.34 kB / 0.9538 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/1.108, allocations: 17.06 kB / 0.9538 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/1.109, allocations: 212.1 kB / 0.954 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/1.109, allocations: 26.91 kB / 0.954 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.11, allocations: 177.2 kB / 0.9542 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.11, allocations: 47.73 kB / 0.9542 GB, free: 7 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001251/1.112, allocations: 0.5756 MB / 0.9548 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00114/1.113, allocations: 0.715 MB / 0.9555 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001634/1.114, allocations: 0.9432 MB / 0.9564 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.3e-05/1.114, allocations: 3.312 kB / 0.9564 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002355/1.117, allocations: 1.062 MB / 0.9575 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.117, allocations: 12.91 kB / 0.9575 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.117, allocations: 19.2 kB / 0.9575 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.117, allocations: 15.81 kB / 0.9575 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/1.118, allocations: 207.8 kB / 0.9577 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/1.118, allocations: 24.44 kB / 0.9577 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.119, allocations: 136.8 kB / 0.9579 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/1.119, allocations: 43.36 kB / 0.9579 GB, free: 5.785 MB / 0.7012 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.0002701/1.119, allocations: 243.1 kB / 0.9581 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/1.12, allocations: 140.1 kB / 0.9583 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/1.121, allocations: 0.6406 MB / 0.9589 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.121, allocations: 2.469 kB / 0.9589 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.121, allocations: 3.938 kB / 0.9589 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.121, allocations: 3.984 kB / 0.9589 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/1.125, allocations: 1.888 MB / 0.9607 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.125, allocations: 3.5 kB / 0.9607 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/1.126, allocations: 95.8 kB / 0.9608 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/1.126, allocations: 5.812 kB / 0.9608 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.574e-05/1.126, allocations: 12.77 kB / 0.9609 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/1.126, allocations: 5.5 kB / 0.9609 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.126, allocations: 8.75 kB / 0.9609 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/1.127, allocations: 0.8076 MB / 0.9617 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/1.128, allocations: 296.2 kB / 0.9619 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/1.128, allocations: 25.06 kB / 0.962 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.129, allocations: 62.95 kB / 0.962 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/1.129, allocations: 34.62 kB / 0.9621 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/1.129, allocations: 24.52 kB / 0.9621 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001521/1.131, allocations: 1.005 MB / 0.9631 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.82e-07/1.131, allocations: 0 / 0.9631 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002002/1.133, allocations: 0.5768 MB / 0.9636 GB, free: 3.07 MB / 0.7012 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.002339/1.135, allocations: 1.506 MB / 0.9651 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002809/1.138, allocations: 1.146 MB / 0.9662 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.138, allocations: 0 / 0.9662 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006285/1.139, allocations: 253.6 kB / 0.9665 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/1.142, allocations: 0.7366 MB / 0.9672 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.161, allocations: 9.848 MB / 0.9768 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/1.162, allocations: 1.19 MB / 0.978 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00155/1.163, allocations: 383.8 kB / 0.9783 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/1.164, allocations: 497.7 kB / 0.9788 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/1.164, allocations: 4 kB / 0.9788 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06707/1.231, allocations: 36.16 MB / 1.014 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.905/11.14, allocations: 21.92 kB / 1.014 GB, free: 1.738 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)