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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.002456/0.002455, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.59/2.59, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.792/1.792, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.0006649, allocations: 8.781 kB / 0.5069 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.364, allocations: 82.32 MB / 0.5873 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003762/0.3678, allocations: 1.719 MB / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.3707, allocations: 1.086 MB / 0.59 GB, free: 132 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.3709, allocations: 4 kB / 0.59 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.3715, allocations: 87.61 kB / 0.5901 GB, free: 40 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.3717, allocations: 47.95 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3728, allocations: 178.2 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.3732, allocations: 167.7 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004442/0.3777, allocations: 81.84 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.378, allocations: 71.7 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.3783, allocations: 107.5 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.3784, allocations: 12 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006694/0.3791, allocations: 175.8 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.3792, allocations: 75.75 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.3794, allocations: 73.52 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007335/0.3801, allocations: 419.2 kB / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3801, allocations: 0 / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3801, allocations: 0 / 0.5915 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.3802, allocations: 0 / 0.5915 GB, free: 14.65 MB / 0.4981 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.001899/0.3821, allocations: 0.7698 MB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.663e-05/0.3822, allocations: 12.03 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.3823, allocations: 50.55 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3824, allocations: 39.53 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.3831, allocations: 307.4 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.3832, allocations: 16.28 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.3833, allocations: 16 kB / 0.5926 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.3843, allocations: 306.9 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3843, allocations: 0 / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.3844, allocations: 11.98 kB / 0.593 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.3844, allocations: 4 kB / 0.593 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005352/0.3898, allocations: 304.2 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.3919, allocations: 0.6836 MB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.3929, allocations: 242.6 kB / 0.5941 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.393, allocations: 4 kB / 0.5941 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.393, allocations: 38.56 kB / 0.5942 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 3.387e-06/0.393, allocations: 0 / 0.5942 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.002812/0.3958, allocations: 0.9466 MB / 0.5951 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/0.3961, allocations: 136.5 kB / 0.5952 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009487/0.397, allocations: 392.3 kB / 0.5956 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.3971, allocations: 25.7 kB / 0.5956 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.3974, allocations: 168.3 kB / 0.5958 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-05/0.3975, allocations: 39.45 kB / 0.5958 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.3975, allocations: 4 kB / 0.5958 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002536/0.3978, allocations: 342.8 kB / 0.5962 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/0.3986, allocations: 252 kB / 0.5964 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007705/0.3994, allocations: 259.9 kB / 0.5967 GB, free: 9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/0.4003, allocations: 418.1 kB / 0.5971 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4004, allocations: 0 / 0.5971 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002075/0.4024, allocations: 0.7608 MB / 0.5978 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.4027, allocations: 182.2 kB / 0.598 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.4027, allocations: 3.938 kB / 0.598 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.4028, allocations: 8 kB / 0.598 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.4031, allocations: 35.91 kB / 0.598 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.4031, allocations: 4 kB / 0.598 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.4036, allocations: 55.83 kB / 0.5981 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.4036, allocations: 15.89 kB / 0.5981 GB, free: 7.414 MB / 0.4981 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 () * Number of clocked 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.0004704/0.4041, allocations: 254.9 kB / 0.5983 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4042, allocations: 31.62 kB / 0.5984 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.4043, allocations: 26.94 kB / 0.5984 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4044, allocations: 4 kB / 0.5984 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.4044, allocations: 0 / 0.5984 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.4044, allocations: 0 / 0.5984 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006834/0.4051, allocations: 353.3 kB / 0.5987 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4051, allocations: 0 / 0.5987 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.4054, allocations: 39.91 kB / 0.5988 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4054, allocations: 0 / 0.5988 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.4055, allocations: 8 kB / 0.5988 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4055, allocations: 4 kB / 0.5988 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4055, allocations: 0 / 0.5988 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.4074, allocations: 0.6477 MB / 0.5994 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.4076, allocations: 112.7 kB / 0.5995 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.4077, allocations: 8 kB / 0.5995 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.4081, allocations: 35.97 kB / 0.5996 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.4083, allocations: 31.95 kB / 0.5996 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.4083, allocations: 8 kB / 0.5996 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005322/0.4089, allocations: 267 kB / 0.5999 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4089, allocations: 0 / 0.5999 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008138/0.4097, allocations: 107.9 kB / 0.6 GB, free: 5.367 MB / 0.4981 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) * Number of clocked states: 0 () * 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.002762/0.4125, allocations: 1.26 MB / 0.6012 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.4148, allocations: 0.8594 MB / 0.602 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4148, allocations: 0 / 0.602 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.4157, allocations: 390.1 kB / 0.6024 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.4164, allocations: 65.34 kB / 0.6025 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.4209, allocations: 1.001 MB / 0.6034 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/0.4218, allocations: 0.7947 MB / 0.6042 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000188/0.422, allocations: 17.95 kB / 0.6042 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.4222, allocations: 95.39 kB / 0.6043 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of SimCode: time 1.794e-06/0.4222, allocations: 0 / 0.6043 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6769/1.099, allocations: 8.009 MB / 0.6121 GB, free: 49.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/1.1, allocations: 206.9 kB / 0.6123 GB, free: 48.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.706/4.805, allocations: 2.344 kB / 0.6123 GB, free: 48.93 MB / 0.4981 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) Environment - environmentSimulation: