Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_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.00137/0.00137, allocations: 176.2 kB / 7.648 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.9339/0.9339, allocations: 133.5 MB / 141.6 MB, free: 2.887 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.582/1.582, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001214/0.001214, allocations: 104.1 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.822e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.6108, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.7631, allocations: 114.9 MB / 0.7462 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.7634, allocations: 95.94 kB / 0.7463 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02088/0.7843, allocations: 6.875 MB / 0.753 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7844, allocations: 0 / 0.753 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.439e-05/0.7844, allocations: 4 kB / 0.753 GB, free: 0.7734 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.001314/0.7857, allocations: 0.7268 MB / 0.7537 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.7858, allocations: 8.031 kB / 0.7537 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.786, allocations: 31.62 kB / 0.7537 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.7865, allocations: 311.8 kB / 0.754 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.7866, allocations: 12 kB / 0.754 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.7866, allocations: 19.94 kB / 0.7541 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003544/0.787, allocations: 192.2 kB / 0.7542 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.7874, allocations: 238.5 kB / 0.7545 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7874, allocations: 0 / 0.7545 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.7875, allocations: 0 / 0.7545 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.7875, allocations: 4 kB / 0.7545 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.7888, allocations: 0.6958 MB / 0.7552 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.7892, allocations: 190.7 kB / 0.7553 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.7895, allocations: 148.8 kB / 0.7555 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.7895, allocations: 4 kB / 0.7555 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.7895, allocations: 38.44 kB / 0.7555 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.7895, allocations: 0 / 0.7555 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.000665/0.7902, allocations: 337.4 kB / 0.7558 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.7903, allocations: 140.5 kB / 0.756 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003941/0.7907, allocations: 302 kB / 0.7563 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.7908, allocations: 25.81 kB / 0.7563 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.7909, allocations: 180.1 kB / 0.7565 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.791, allocations: 39.45 kB / 0.7565 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.791, allocations: 4 kB / 0.7565 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.7912, allocations: 338.8 kB / 0.7568 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.7915, allocations: 191.9 kB / 0.757 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.7917, allocations: 192.5 kB / 0.7572 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.7921, allocations: 193.5 kB / 0.7574 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7921, allocations: 0 / 0.7574 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007344/0.7929, allocations: 487.6 kB / 0.7578 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.793, allocations: 186.2 kB / 0.758 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.793, allocations: 0 / 0.758 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.7931, allocations: 0 / 0.758 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.7933, allocations: 35.97 kB / 0.758 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7933, allocations: 4 kB / 0.7581 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.7935, allocations: 43.81 kB / 0.7581 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.7936, allocations: 16 kB / 0.7581 GB, free: 11.23 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.000175/0.7938, allocations: 203.9 kB / 0.7583 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005599/0.7943, allocations: 364.2 kB / 0.7587 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.7944, allocations: 31.62 kB / 0.7587 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.7945, allocations: 26.14 kB / 0.7587 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7945, allocations: 0 / 0.7587 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7945, allocations: 0 / 0.7587 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7945, allocations: 3.938 kB / 0.7587 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.7949, allocations: 313.9 kB / 0.759 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.7949, allocations: 7.984 kB / 0.759 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.7951, allocations: 35.97 kB / 0.7591 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.7951, allocations: 4 kB / 0.7591 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.7952, allocations: 0 / 0.7591 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.7952, allocations: 4 kB / 0.7591 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7952, allocations: 0 / 0.7591 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.7958, allocations: 466.9 kB / 0.7595 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.7959, allocations: 100.8 kB / 0.7596 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.796, allocations: 8 kB / 0.7596 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.7962, allocations: 35.95 kB / 0.7596 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.7964, allocations: 31.97 kB / 0.7597 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.7964, allocations: 4 kB / 0.7597 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002443/0.7966, allocations: 248.5 kB / 0.7599 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7966, allocations: 0 / 0.7599 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005041/0.7971, allocations: 123.8 kB / 0.76 GB, free: 9.16 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.001321/0.7985, allocations: 1.15 MB / 0.7612 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007815/0.7993, allocations: 0.7424 MB / 0.7619 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7993, allocations: 0 / 0.7619 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.7996, allocations: 342.1 kB / 0.7622 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.8, allocations: 60.67 kB / 0.7623 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.8011, allocations: 0.5854 MB / 0.7628 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.8015, allocations: 0.7984 MB / 0.7636 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.995e-05/0.8016, allocations: 17.86 kB / 0.7636 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.8017, allocations: 83.41 kB / 0.7637 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.8017, allocations: 4 kB / 0.7637 GB, free: 5.195 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.8324, allocations: 7.879 MB / 0.7714 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.8328, allocations: 165.5 kB / 0.7716 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.195, allocations: 0 / 0.7716 GB, free: 13.2 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)