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.00202/0.00202, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7471/0.7471, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.0009037, allocations: 95.77 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.595e-05/4.597e-05, allocations: 3.969 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6885/0.8833, allocations: 115.6 MB / 0.7534 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.8835, allocations: 89.17 kB / 0.7535 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.9019, allocations: 6.949 MB / 0.7603 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.809e-06/0.9019, allocations: 3.781 kB / 0.7603 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.514e-05/0.9019, allocations: 7.719 kB / 0.7603 GB, free: 25.79 MB / 0.5105 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.001122/0.9031, allocations: 0.7294 MB / 0.761 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.9032, allocations: 11.56 kB / 0.761 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.9033, allocations: 51.02 kB / 0.761 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.9034, allocations: 31.03 kB / 0.7611 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.9039, allocations: 313 kB / 0.7614 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.9039, allocations: 13 kB / 0.7614 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.904, allocations: 18.75 kB / 0.7614 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.9044, allocations: 262 kB / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.9044, allocations: 0 / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.9045, allocations: 7.062 kB / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9045, allocations: 3.719 kB / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.9048, allocations: 203.6 kB / 0.7619 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.9061, allocations: 0.7353 MB / 0.7626 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.9064, allocations: 196.3 kB / 0.7628 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.9066, allocations: 157.5 kB / 0.7629 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.9067, allocations: 0 / 0.7629 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.9067, allocations: 34.41 kB / 0.763 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.9067, allocations: 0 / 0.763 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0006522/0.9074, allocations: 444.9 kB / 0.7634 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.9075, allocations: 140.2 kB / 0.7635 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.9079, allocations: 347.9 kB / 0.7638 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.9079, allocations: 32.86 kB / 0.7639 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.9081, allocations: 173.2 kB / 0.764 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.9081, allocations: 35.11 kB / 0.7641 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.9081, allocations: 7.281 kB / 0.7641 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9083, allocations: 336.6 kB / 0.7644 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.9085, allocations: 198.4 kB / 0.7646 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.9087, allocations: 196.1 kB / 0.7648 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.909, allocations: 366.8 kB / 0.7651 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.909, allocations: 0 / 0.7651 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006649/0.9097, allocations: 0.6438 MB / 0.7658 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.9098, allocations: 191.3 kB / 0.7659 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.9099, allocations: 3.938 kB / 0.7659 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9099, allocations: 7.812 kB / 0.7659 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.9101, allocations: 35.06 kB / 0.766 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.9101, allocations: 0.5469 kB / 0.766 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.9103, allocations: 62.88 kB / 0.766 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.9104, allocations: 15.27 kB / 0.7661 GB, free: 22.38 MB / 0.5105 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.0001545/0.9106, allocations: 207.6 kB / 0.7663 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.9106, allocations: 26.12 kB / 0.7663 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.9107, allocations: 28.16 kB / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9107, allocations: 7.844 kB / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9107, allocations: 0 / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9107, allocations: 0 / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.911, allocations: 359.3 kB / 0.7667 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.9111, allocations: 0 / 0.7667 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.9113, allocations: 42.72 kB / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.9113, allocations: 0 / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.9113, allocations: 7.812 kB / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.9113, allocations: 0 / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9113, allocations: 3.688 kB / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.9119, allocations: 0.5468 MB / 0.7672 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.912, allocations: 107.7 kB / 0.7673 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.912, allocations: 7.125 kB / 0.7674 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.9123, allocations: 42.89 kB / 0.7674 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.9124, allocations: 25.41 kB / 0.7674 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.9124, allocations: 3.812 kB / 0.7674 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000262/0.9127, allocations: 270.7 kB / 0.7677 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9127, allocations: 0 / 0.7677 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005047/0.9132, allocations: 123.2 kB / 0.7678 GB, free: 21.32 MB / 0.5105 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.001223/0.9144, allocations: 1.277 MB / 0.769 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006978/0.9152, allocations: 0.7605 MB / 0.7698 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9152, allocations: 0 / 0.7698 GB, free: 20.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.9154, allocations: 342.2 kB / 0.7701 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.9158, allocations: 62.7 kB / 0.7702 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009989/0.9168, allocations: 0.6022 MB / 0.7708 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.9172, allocations: 0.7941 MB / 0.7715 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.192e-05/0.9173, allocations: 25.44 kB / 0.7716 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.9174, allocations: 84.44 kB / 0.7716 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.9174, allocations: 0 / 0.7716 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.9403, allocations: 9.873 MB / 0.7813 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.9405, allocations: 174.9 kB / 0.7814 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/3.185, allocations: 0 / 0.7814 GB, free: 10.29 MB / 0.5105 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)