Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7542/0.7542, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001157, allocations: 98.09 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.433e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5207/0.5207, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.6835, allocations: 114.9 MB / 0.7462 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.6839, allocations: 91.94 kB / 0.7463 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.7036, allocations: 6.887 MB / 0.753 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7037, allocations: 0 / 0.753 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.7037, allocations: 4 kB / 0.753 GB, free: 0.7305 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001003/0.7047, allocations: 0.7268 MB / 0.7537 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.7048, allocations: 12.03 kB / 0.7537 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.7049, allocations: 31.62 kB / 0.7537 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.7053, allocations: 307.8 kB / 0.754 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.7053, allocations: 8 kB / 0.754 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.7053, allocations: 16 kB / 0.7541 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003231/0.7057, allocations: 196.2 kB / 0.7542 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.706, allocations: 234.5 kB / 0.7545 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.7061, allocations: 0 / 0.7545 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.7061, allocations: 4 kB / 0.7545 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.7061, allocations: 4 kB / 0.7545 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.7073, allocations: 0.6958 MB / 0.7551 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.7077, allocations: 186.7 kB / 0.7553 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.7079, allocations: 152.8 kB / 0.7555 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.7079, allocations: 0 / 0.7555 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.708, allocations: 34.56 kB / 0.7555 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.708, allocations: 0 / 0.7555 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0006084/0.7086, allocations: 341.4 kB / 0.7558 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.7087, allocations: 140.5 kB / 0.756 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.709, allocations: 302.2 kB / 0.7563 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.709, allocations: 33.64 kB / 0.7563 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.7092, allocations: 172.2 kB / 0.7564 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.7092, allocations: 39.45 kB / 0.7565 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.7092, allocations: 0 / 0.7565 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.7094, allocations: 342.8 kB / 0.7568 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.7097, allocations: 191.9 kB / 0.757 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.7099, allocations: 192.5 kB / 0.7572 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.7103, allocations: 193.5 kB / 0.7574 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7103, allocations: 4 kB / 0.7574 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006644/0.7109, allocations: 483.6 kB / 0.7578 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.7111, allocations: 178.2 kB / 0.758 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7111, allocations: 0 / 0.758 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7111, allocations: 7.938 kB / 0.758 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.7113, allocations: 35.97 kB / 0.758 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.7113, allocations: 4 kB / 0.758 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.7116, allocations: 51.75 kB / 0.7581 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.7116, allocations: 11.98 kB / 0.7581 GB, free: 11.19 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.7118, allocations: 202 kB / 0.7583 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005181/0.7123, allocations: 358.5 kB / 0.7586 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.7124, allocations: 31.62 kB / 0.7587 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.7125, allocations: 26.14 kB / 0.7587 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7125, allocations: 4 kB / 0.7587 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7125, allocations: 3.938 kB / 0.7587 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7125, allocations: 0 / 0.7587 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.7128, allocations: 317.9 kB / 0.759 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7128, allocations: 0 / 0.759 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.713, allocations: 39.97 kB / 0.759 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.713, allocations: 0 / 0.759 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.713, allocations: 4 kB / 0.759 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.713, allocations: 0 / 0.759 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.7131, allocations: 7.984 kB / 0.7591 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.7136, allocations: 465.9 kB / 0.7595 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.7137, allocations: 108.8 kB / 0.7596 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.7138, allocations: 3.984 kB / 0.7596 GB, free: 9.547 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.714, allocations: 39.97 kB / 0.7596 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.7142, allocations: 23.97 kB / 0.7597 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.7142, allocations: 12 kB / 0.7597 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002444/0.7144, allocations: 232.6 kB / 0.7599 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7144, allocations: 0 / 0.7599 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000544/0.715, allocations: 127.8 kB / 0.76 GB, free: 9.125 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.7163, allocations: 1.162 MB / 0.7612 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007744/0.7171, allocations: 0.7385 MB / 0.7619 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7171, allocations: 0 / 0.7619 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.7174, allocations: 338.1 kB / 0.7622 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.7178, allocations: 64.72 kB / 0.7623 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.719, allocations: 0.5872 MB / 0.7628 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.7194, allocations: 0.7945 MB / 0.7636 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.325e-05/0.7195, allocations: 17.86 kB / 0.7636 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.7196, allocations: 83.41 kB / 0.7637 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7196, allocations: 0 / 0.7637 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.7486, allocations: 7.875 MB / 0.7714 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.7489, allocations: 174.3 kB / 0.7716 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/2.823, allocations: 0 / 0.7716 GB, free: 13.16 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)