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.005349/0.005349, allocations: 95.17 kB / 15.73 MB, free: 6.047 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.001498/0.001498, allocations: 206.5 kB / 16.68 MB, free: 5.973 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 282.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 178.6 MB / 0.5074 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 99.83 kB / 0.6943 GB, free: 3.578 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4145, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003266/0.4178, allocations: 2.083 MB / 0.7834 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.4196, allocations: 1.18 MB / 0.7845 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.4197, allocations: 2.812 kB / 0.7845 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.42, allocations: 112.8 kB / 0.7846 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.4202, allocations: 49.89 kB / 0.7847 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.4208, allocations: 264.4 kB / 0.7849 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.4212, allocations: 315.5 kB / 0.7852 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.4214, allocations: 96.31 kB / 0.7853 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.4215, allocations: 111.8 kB / 0.7854 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.4217, allocations: 119.7 kB / 0.7856 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.4217, allocations: 30.28 kB / 0.7856 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.4221, allocations: 232.4 kB / 0.7858 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.4222, allocations: 89.8 kB / 0.7859 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.4224, allocations: 152.8 kB / 0.786 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.423, allocations: 0.5595 MB / 0.7866 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.423, allocations: 0 / 0.7866 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4231, allocations: 0 / 0.7866 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.4231, allocations: 1.438 kB / 0.7866 GB, free: 10.66 MB / 0.5606 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.00118/0.4243, allocations: 0.8194 MB / 0.7874 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4243, allocations: 9.406 kB / 0.7874 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.487e-05/0.4244, allocations: 52.5 kB / 0.7874 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.4244, allocations: 33.34 kB / 0.7875 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.4248, allocations: 329.9 kB / 0.7878 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4249, allocations: 11.91 kB / 0.7878 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.4249, allocations: 17.03 kB / 0.7878 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.4255, allocations: 298.3 kB / 0.7881 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.4255, allocations: 0 / 0.7881 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.4256, allocations: 6.938 kB / 0.7881 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4256, allocations: 7.938 kB / 0.7881 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.4262, allocations: 272.9 kB / 0.7884 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.4273, allocations: 0.6718 MB / 0.789 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.4279, allocations: 234.6 kB / 0.7893 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.4284, allocations: 189.2 kB / 0.7894 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4284, allocations: 1.844 kB / 0.7894 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4284, allocations: 32.09 kB / 0.7895 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.4285, allocations: 4 kB / 0.7895 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.001382/0.4298, allocations: 0.6719 MB / 0.7901 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.4299, allocations: 138.2 kB / 0.7903 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.4304, allocations: 377.1 kB / 0.7906 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4304, allocations: 31.86 kB / 0.7907 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4305, allocations: 170.7 kB / 0.7908 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.4306, allocations: 46.3 kB / 0.7909 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.4307, allocations: 47.55 kB / 0.7909 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4309, allocations: 348.2 kB / 0.7912 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.4313, allocations: 238.3 kB / 0.7915 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.4318, allocations: 239.2 kB / 0.7917 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.4327, allocations: 0.6786 MB / 0.7924 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4328, allocations: 0 / 0.7924 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00115/0.4339, allocations: 0.7357 MB / 0.7931 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.4341, allocations: 180 kB / 0.7932 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4341, allocations: 5.031 kB / 0.7933 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4341, allocations: 5.188 kB / 0.7933 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4343, allocations: 31.67 kB / 0.7933 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4343, allocations: 1.094 kB / 0.7933 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.4345, allocations: 41.33 kB / 0.7933 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.4345, allocations: 10.97 kB / 0.7933 GB, free: 6.375 MB / 0.5606 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.000235/0.4348, allocations: 255 kB / 0.7936 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.4348, allocations: 35.75 kB / 0.7936 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.4349, allocations: 31.98 kB / 0.7936 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4349, allocations: 2.578 kB / 0.7936 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4349, allocations: 3.938 kB / 0.7937 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4349, allocations: 0 / 0.7937 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.4353, allocations: 350.6 kB / 0.794 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4354, allocations: 1.531 kB / 0.794 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.4355, allocations: 26.3 kB / 0.794 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4355, allocations: 1.828 kB / 0.794 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.4356, allocations: 11.38 kB / 0.794 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4356, allocations: 2.016 kB / 0.794 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4356, allocations: 0 / 0.794 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009996/0.4366, allocations: 0.6232 MB / 0.7946 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.4367, allocations: 113 kB / 0.7947 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.4367, allocations: 8.266 kB / 0.7948 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.437, allocations: 25.91 kB / 0.7948 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.4371, allocations: 28.94 kB / 0.7948 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.4371, allocations: 9.953 kB / 0.7948 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002851/0.4374, allocations: 271.8 kB / 0.7951 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.934e-06/0.4374, allocations: 0 / 0.7951 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004439/0.4379, allocations: 111.1 kB / 0.7952 GB, free: 5.176 MB / 0.5606 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.001468/0.4393, allocations: 1.22 MB / 0.7964 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.4406, allocations: 0.8365 MB / 0.7972 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4406, allocations: 0 / 0.7972 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.4412, allocations: 383.7 kB / 0.7976 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.4416, allocations: 71.31 kB / 0.7976 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.4473, allocations: 4.439 MB / 0.802 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.4478, allocations: 0.785 MB / 0.8027 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.491e-05/0.4478, allocations: 22.92 kB / 0.8027 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.448, allocations: 86.5 kB / 0.8028 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.448, allocations: 0 / 0.8028 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.4793, allocations: 8.739 MB / 0.8114 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.505, allocations: 13.56 kB / 0.8114 GB, free: 11.5 MB / 0.5762 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)