Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_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.005254/0.005254, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.00114/0.00114, allocations: 189 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002071, allocations: 289.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8871/0.8871, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 96.14 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.395, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003237/0.3982, allocations: 2.083 MB / 0.7679 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.4003, allocations: 1.18 MB / 0.7691 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.4005, allocations: 4 kB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.4009, allocations: 107.4 kB / 0.7692 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.4012, allocations: 51.56 kB / 0.7693 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007596/0.4019, allocations: 255.5 kB / 0.7695 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.4023, allocations: 323.2 kB / 0.7698 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.4025, allocations: 98.77 kB / 0.7699 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4027, allocations: 111.6 kB / 0.77 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.4029, allocations: 119.5 kB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/0.4029, allocations: 28 kB / 0.7702 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.4034, allocations: 235.6 kB / 0.7704 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.4035, allocations: 87.73 kB / 0.7705 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.4036, allocations: 155.2 kB / 0.7706 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.4043, allocations: 0.5607 MB / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4044, allocations: 0 / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4044, allocations: 3.938 kB / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.4044, allocations: 0 / 0.7712 GB, free: 14.48 MB / 0.545 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.00119/0.4056, allocations: 0.8127 MB / 0.772 GB, free: 13.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4056, allocations: 8.031 kB / 0.772 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.4057, allocations: 50.73 kB / 0.772 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.4058, allocations: 32.56 kB / 0.772 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.4061, allocations: 324.4 kB / 0.7723 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4062, allocations: 12.66 kB / 0.7724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.4062, allocations: 20.38 kB / 0.7724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.4068, allocations: 296.3 kB / 0.7727 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4068, allocations: 0 / 0.7727 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.4068, allocations: 8 kB / 0.7727 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4068, allocations: 11.88 kB / 0.7727 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.4074, allocations: 268.4 kB / 0.7729 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.4084, allocations: 0.6679 MB / 0.7736 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.4089, allocations: 230.6 kB / 0.7738 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.4092, allocations: 188.7 kB / 0.774 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.4093, allocations: 0 / 0.774 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4093, allocations: 34.56 kB / 0.774 GB, free: 11.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4093, allocations: 0 / 0.774 GB, free: 11.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001254/0.4106, allocations: 0.6759 MB / 0.7747 GB, free: 10.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.4106, allocations: 136.5 kB / 0.7748 GB, free: 10.47 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.411, allocations: 380.4 kB / 0.7752 GB, free: 10.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.4111, allocations: 33.7 kB / 0.7752 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4112, allocations: 168.3 kB / 0.7754 GB, free: 9.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.4112, allocations: 39.39 kB / 0.7754 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.4113, allocations: 49.7 kB / 0.7755 GB, free: 9.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4115, allocations: 342.8 kB / 0.7758 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.4119, allocations: 235.8 kB / 0.776 GB, free: 9.219 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.4123, allocations: 240.5 kB / 0.7762 GB, free: 8.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.4131, allocations: 0.6788 MB / 0.7769 GB, free: 8.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4131, allocations: 4 kB / 0.7769 GB, free: 8.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009971/0.4141, allocations: 0.7334 MB / 0.7776 GB, free: 7.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-05/0.4142, allocations: 182.3 kB / 0.7778 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4142, allocations: 3.938 kB / 0.7778 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4143, allocations: 3.984 kB / 0.7778 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4144, allocations: 31.97 kB / 0.7778 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4144, allocations: 0 / 0.7778 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.4147, allocations: 43.72 kB / 0.7779 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.4147, allocations: 8 kB / 0.7779 GB, free: 7.164 MB / 0.545 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.4149, allocations: 266.8 kB / 0.7781 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.415, allocations: 23.72 kB / 0.7782 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.415, allocations: 34.88 kB / 0.7782 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.415, allocations: 4 kB / 0.7782 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.415, allocations: 0 / 0.7782 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.415, allocations: 0 / 0.7782 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.4154, allocations: 357.2 kB / 0.7785 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.4154, allocations: 4 kB / 0.7785 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4156, allocations: 27.97 kB / 0.7786 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4156, allocations: 0 / 0.7786 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.4156, allocations: 8 kB / 0.7786 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4156, allocations: 0 / 0.7786 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4156, allocations: 0 / 0.7786 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.4165, allocations: 0.6249 MB / 0.7792 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.4165, allocations: 108.7 kB / 0.7793 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.4166, allocations: 8 kB / 0.7793 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.4168, allocations: 27.97 kB / 0.7793 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4169, allocations: 27.97 kB / 0.7793 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.417, allocations: 8 kB / 0.7794 GB, free: 5.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002675/0.4172, allocations: 275 kB / 0.7796 GB, free: 5.242 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.453e-06/0.4172, allocations: 0 / 0.7796 GB, free: 5.242 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004217/0.4177, allocations: 103.9 kB / 0.7797 GB, free: 5.141 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.419, allocations: 1.223 MB / 0.7809 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.42, allocations: 0.8321 MB / 0.7817 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.42, allocations: 0 / 0.7817 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.4205, allocations: 378 kB / 0.7821 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.4209, allocations: 71.91 kB / 0.7822 GB, free: 2.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005231/0.4262, allocations: 4.428 MB / 0.7865 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.4265, allocations: 0.787 MB / 0.7872 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.862e-05/0.4266, allocations: 25.94 kB / 0.7873 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.4267, allocations: 91.41 kB / 0.7874 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.4267, allocations: 0 / 0.7874 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.4535, allocations: 8.9 MB / 0.796 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/8.077, allocations: 8.438 kB / 0.7961 GB, free: 4.379 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)