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.001887/0.001887, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 198 kB / 16.53 MB, free: 6.656 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002477/0.002477, allocations: 286.5 kB / 290.7 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 103.1 kB / 0.6066 GB, free: 24.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1733, allocations: 89.14 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00358/0.1769, allocations: 2.091 MB / 0.6956 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1789, allocations: 1.172 MB / 0.6968 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.179, allocations: 5.719 kB / 0.6968 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.1794, allocations: 112.3 kB / 0.6969 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1795, allocations: 49.16 kB / 0.697 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.1802, allocations: 260 kB / 0.6972 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.1806, allocations: 327.2 kB / 0.6975 GB, free: 208 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1808, allocations: 99.81 kB / 0.6976 GB, free: 112 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1809, allocations: 99.69 kB / 0.6977 GB, free: 12 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1811, allocations: 127.5 kB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.1811, allocations: 32 kB / 0.6979 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1815, allocations: 227.7 kB / 0.6981 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1816, allocations: 83.75 kB / 0.6982 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.1818, allocations: 151.2 kB / 0.6983 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.1824, allocations: 0.5453 MB / 0.6988 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1824, allocations: 4 kB / 0.6988 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1824, allocations: 0 / 0.6988 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1824, allocations: 4 kB / 0.6988 GB, free: 14.85 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.001245/0.1837, allocations: 0.8087 MB / 0.6996 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1837, allocations: 12.03 kB / 0.6996 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.176e-05/0.1838, allocations: 46.73 kB / 0.6997 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.1839, allocations: 36.56 kB / 0.6997 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.1843, allocations: 324.4 kB / 0.7 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1843, allocations: 16.66 kB / 0.7 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.1844, allocations: 16.38 kB / 0.7001 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.185, allocations: 303.3 kB / 0.7003 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.185, allocations: 0 / 0.7003 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.185, allocations: 4 kB / 0.7003 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1851, allocations: 4 kB / 0.7004 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006907/0.1857, allocations: 284 kB / 0.7006 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1868, allocations: 0.668 MB / 0.7013 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.1874, allocations: 230.6 kB / 0.7015 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/0.1878, allocations: 188.7 kB / 0.7017 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1878, allocations: 0 / 0.7017 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1878, allocations: 34.56 kB / 0.7017 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1878, allocations: 0 / 0.7017 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001453/0.1893, allocations: 0.6739 MB / 0.7024 GB, free: 11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1894, allocations: 140.5 kB / 0.7025 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.1899, allocations: 384.4 kB / 0.7029 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.1899, allocations: 29.7 kB / 0.7029 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1901, allocations: 164.3 kB / 0.7031 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.1901, allocations: 35.45 kB / 0.7031 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-05/0.1902, allocations: 49.7 kB / 0.7031 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1904, allocations: 346.7 kB / 0.7035 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.1909, allocations: 239.9 kB / 0.7037 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.1914, allocations: 235.8 kB / 0.7039 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.1924, allocations: 0.6855 MB / 0.7046 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1924, allocations: 4 kB / 0.7046 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001181/0.1936, allocations: 0.7259 MB / 0.7053 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.1938, allocations: 186.2 kB / 0.7055 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1938, allocations: 0 / 0.7055 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1938, allocations: 0 / 0.7055 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.194, allocations: 35.97 kB / 0.7055 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.194, allocations: 0 / 0.7055 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.1942, allocations: 55.64 kB / 0.7056 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1942, allocations: 4 kB / 0.7056 GB, free: 7.508 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.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.0002586/0.1945, allocations: 262.8 kB / 0.7058 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.1946, allocations: 23.72 kB / 0.7058 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.1947, allocations: 34.94 kB / 0.7059 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1947, allocations: 3.938 kB / 0.7059 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1947, allocations: 0 / 0.7059 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.1947, allocations: 3.984 kB / 0.7059 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.1951, allocations: 345.3 kB / 0.7062 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1951, allocations: 0 / 0.7062 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1953, allocations: 27.97 kB / 0.7062 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1953, allocations: 0 / 0.7062 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.1953, allocations: 19.91 kB / 0.7063 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1953, allocations: 0 / 0.7063 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1953, allocations: 4 kB / 0.7063 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1963, allocations: 0.6163 MB / 0.7069 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.1964, allocations: 116.7 kB / 0.707 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.1965, allocations: 8 kB / 0.707 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1967, allocations: 27.97 kB / 0.707 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.1968, allocations: 31.91 kB / 0.707 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.1969, allocations: 4 kB / 0.707 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003095/0.1972, allocations: 271 kB / 0.7073 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1972, allocations: 0 / 0.7073 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004092/0.1976, allocations: 99.98 kB / 0.7074 GB, free: 5.5 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 (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.001643/0.1993, allocations: 1.217 MB / 0.7086 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.2005, allocations: 0.8441 MB / 0.7094 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2005, allocations: 0 / 0.7094 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.2011, allocations: 382 kB / 0.7098 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.2015, allocations: 73.31 kB / 0.7098 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006151/0.2077, allocations: 4.432 MB / 0.7142 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.2082, allocations: 0.7868 MB / 0.7149 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.683e-05/0.2083, allocations: 21.94 kB / 0.715 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.2084, allocations: 99.39 kB / 0.7151 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.072e-06/0.2084, allocations: 0 / 0.7151 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0315/0.2399, allocations: 8.676 MB / 0.7235 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.139, allocations: 4.391 kB / 0.7235 GB, free: 4.914 MB / 0.5137 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)