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.001219/0.001219, allocations: 174.5 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.7291/0.7291, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.531/1.531, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0009615/0.0009615, allocations: 101.8 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.861e-05/3.885e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1703, allocations: 82.31 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6998/0.8702, allocations: 115.6 MB / 0.7534 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.8705, allocations: 94.53 kB / 0.7535 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01861/0.8891, allocations: 6.948 MB / 0.7603 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8892, allocations: 0 / 0.7603 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.8892, allocations: 7.719 kB / 0.7603 GB, free: 25.8 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.000956/0.8901, allocations: 0.7324 MB / 0.761 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.8902, allocations: 11.69 kB / 0.761 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.214e-05/0.8903, allocations: 49.86 kB / 0.7611 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.8904, allocations: 30.88 kB / 0.7611 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.8908, allocations: 321.6 kB / 0.7614 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.8908, allocations: 11.91 kB / 0.7614 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.8909, allocations: 15.41 kB / 0.7614 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.8913, allocations: 255 kB / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.8913, allocations: 0 / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.8913, allocations: 7.344 kB / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.8913, allocations: 3.625 kB / 0.7617 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.8916, allocations: 208.8 kB / 0.7619 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.8927, allocations: 0.7416 MB / 0.7626 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.8931, allocations: 197.6 kB / 0.7628 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.8932, allocations: 150.9 kB / 0.7629 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.8933, allocations: 3.812 kB / 0.7629 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.8933, allocations: 37.38 kB / 0.763 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.8933, allocations: 0 / 0.763 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.000539/0.8938, allocations: 439.8 kB / 0.7634 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.8939, allocations: 143.2 kB / 0.7635 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.8942, allocations: 347.9 kB / 0.7638 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.8943, allocations: 32.61 kB / 0.7639 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.8944, allocations: 163.5 kB / 0.764 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.8944, allocations: 38.42 kB / 0.7641 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.8945, allocations: 3.188 kB / 0.7641 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8946, allocations: 342.6 kB / 0.7644 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.8948, allocations: 198.7 kB / 0.7646 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.895, allocations: 201 kB / 0.7648 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.8953, allocations: 360.9 kB / 0.7651 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8953, allocations: 0 / 0.7651 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006469/0.896, allocations: 0.6514 MB / 0.7658 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.8961, allocations: 177.4 kB / 0.7659 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.8961, allocations: 0 / 0.7659 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.8961, allocations: 0 / 0.7659 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.8963, allocations: 49.78 kB / 0.766 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.8963, allocations: 3.984 kB / 0.766 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.8965, allocations: 54.5 kB / 0.766 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.8966, allocations: 15.33 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.0001493/0.8967, allocations: 208.3 kB / 0.7663 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.8968, allocations: 27.03 kB / 0.7663 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.8969, allocations: 25.28 kB / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8969, allocations: 0 / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8969, allocations: 3.844 kB / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8969, allocations: 0 / 0.7663 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.8972, allocations: 361.1 kB / 0.7666 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8972, allocations: 4 kB / 0.7667 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.8974, allocations: 38.59 kB / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8974, allocations: 0 / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.8974, allocations: 11.28 kB / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8974, allocations: 7.828 kB / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8974, allocations: 0 / 0.7667 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.898, allocations: 0.5464 MB / 0.7672 GB, free: 21.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/0.898, allocations: 114.1 kB / 0.7673 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.8981, allocations: 3.844 kB / 0.7674 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.8983, allocations: 37.5 kB / 0.7674 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.8984, allocations: 27.25 kB / 0.7674 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.8985, allocations: 6.906 kB / 0.7674 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002252/0.8987, allocations: 267 kB / 0.7677 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8987, allocations: 0 / 0.7677 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004358/0.8991, allocations: 127.8 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.001154/0.9003, allocations: 1.274 MB / 0.769 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006773/0.901, allocations: 0.7552 MB / 0.7698 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.901, allocations: 0 / 0.7698 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.9013, allocations: 347.3 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.0003304/0.9016, allocations: 65.39 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.0009431/0.9026, allocations: 0.6034 MB / 0.7708 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.9029, allocations: 0.7898 MB / 0.7715 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.964e-05/0.903, allocations: 21.61 kB / 0.7716 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.9031, allocations: 86.28 kB / 0.7716 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.9031, allocations: 0 / 0.7716 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.923, allocations: 9.876 MB / 0.7813 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.9232, allocations: 184.7 kB / 0.7815 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.231, allocations: 0 / 0.7815 GB, free: 10.21 MB / 0.5105 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)