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.005417/0.005417, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001366/0.001366, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 284.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9153/0.9153, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 103.8 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3911, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002993/0.3941, allocations: 2.075 MB / 0.7679 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3958, allocations: 1.177 MB / 0.7691 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3959, allocations: 4 kB / 0.7691 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.3963, allocations: 123.1 kB / 0.7692 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.709e-05/0.3964, allocations: 43.59 kB / 0.7693 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.397, allocations: 257.5 kB / 0.7695 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3974, allocations: 319.3 kB / 0.7698 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3975, allocations: 98.78 kB / 0.7699 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.3976, allocations: 111.5 kB / 0.77 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3978, allocations: 123.5 kB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.3978, allocations: 32 kB / 0.7702 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.3982, allocations: 231.7 kB / 0.7704 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.3983, allocations: 91.73 kB / 0.7705 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.3984, allocations: 155.1 kB / 0.7706 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.3989, allocations: 0.554 MB / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.399, allocations: 0 / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.422e-06/0.399, allocations: 0 / 0.7712 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.399, 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.001022/0.4, allocations: 0.8239 MB / 0.772 GB, free: 13.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4, allocations: 8.031 kB / 0.772 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.513e-05/0.4001, allocations: 58.67 kB / 0.772 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.4002, allocations: 32.75 kB / 0.7721 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.4006, allocations: 324.6 kB / 0.7724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.4006, allocations: 16.66 kB / 0.7724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.4006, allocations: 16.38 kB / 0.7724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.4012, allocations: 300.3 kB / 0.7727 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.4012, allocations: 0 / 0.7727 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.4012, allocations: 8 kB / 0.7727 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4012, allocations: 7.938 kB / 0.7727 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.4019, allocations: 268.4 kB / 0.773 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009111/0.4028, allocations: 0.6719 MB / 0.7736 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.4033, allocations: 234.6 kB / 0.7738 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.4037, allocations: 188.7 kB / 0.774 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.4037, allocations: 0 / 0.774 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.4037, allocations: 34.56 kB / 0.774 GB, free: 11.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.4037, allocations: 4 kB / 0.774 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001281/0.405, allocations: 0.6742 MB / 0.7747 GB, free: 10.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.4051, allocations: 132.5 kB / 0.7748 GB, free: 10.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.4055, allocations: 384.5 kB / 0.7752 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.4055, allocations: 29.7 kB / 0.7752 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.4056, allocations: 176.3 kB / 0.7754 GB, free: 9.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.4057, allocations: 47.58 kB / 0.7754 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.4058, allocations: 45.7 kB / 0.7755 GB, free: 9.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4059, allocations: 342.8 kB / 0.7758 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.4064, allocations: 239.8 kB / 0.776 GB, free: 9.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.4068, allocations: 240 kB / 0.7763 GB, free: 8.945 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.4077, allocations: 0.6796 MB / 0.7769 GB, free: 8.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4077, allocations: 0 / 0.7769 GB, free: 8.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001055/0.4087, allocations: 0.7347 MB / 0.7776 GB, free: 7.434 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.4089, allocations: 178.2 kB / 0.7778 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4089, allocations: 3.984 kB / 0.7778 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4089, allocations: 0 / 0.7778 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.4091, allocations: 39.91 kB / 0.7779 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4091, allocations: 3.984 kB / 0.7779 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.4093, allocations: 39.81 kB / 0.7779 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4093, allocations: 8 kB / 0.7779 GB, free: 7.129 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.0002085/0.4095, allocations: 261.2 kB / 0.7782 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.4096, allocations: 35.81 kB / 0.7782 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.4096, allocations: 30.94 kB / 0.7782 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4097, allocations: 4 kB / 0.7782 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4097, allocations: 0 / 0.7782 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4097, allocations: 0 / 0.7782 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.41, allocations: 353.3 kB / 0.7786 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.41, allocations: 0 / 0.7786 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.4102, allocations: 31.91 kB / 0.7786 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4102, allocations: 0 / 0.7786 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.4102, allocations: 4 kB / 0.7786 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4102, allocations: 4 kB / 0.7786 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4102, allocations: 0 / 0.7786 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.4112, allocations: 0.6174 MB / 0.7792 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.4113, allocations: 124.8 kB / 0.7793 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.4113, allocations: 12 kB / 0.7793 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4115, allocations: 27.91 kB / 0.7794 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4116, allocations: 23.97 kB / 0.7794 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.4117, allocations: 8 kB / 0.7794 GB, free: 5.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002701/0.4119, allocations: 275 kB / 0.7797 GB, free: 5.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.412, allocations: 0 / 0.7797 GB, free: 5.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004433/0.4124, allocations: 103.9 kB / 0.7798 GB, free: 5.102 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.001369/0.4138, allocations: 1.225 MB / 0.781 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.4149, allocations: 0.8321 MB / 0.7818 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.415, allocations: 0 / 0.7818 GB, free: 2.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005089/0.4155, allocations: 374.1 kB / 0.7821 GB, free: 2.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.4159, allocations: 61.41 kB / 0.7822 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005588/0.4215, allocations: 4.437 MB / 0.7865 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4219, allocations: 0.7909 MB / 0.7873 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.229e-05/0.422, allocations: 21.95 kB / 0.7873 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.4221, allocations: 87.41 kB / 0.7874 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of SimCode: time 1.893e-06/0.4221, allocations: 0 / 0.7874 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.448, allocations: 8.745 MB / 0.7959 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.913, allocations: 4.516 kB / 0.7959 GB, free: 4.504 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)