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.0007578/0.0007578, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004254/0.004254, allocations: 171 kB / 16.26 MB, free: 6.613 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 266.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8696/0.8696, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 18.09 kB / 0.5988 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001885/0.1246, allocations: 1.778 MB / 0.687 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1261, allocations: 1.201 MB / 0.6882 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.1262, allocations: 4 kB / 0.6882 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1265, allocations: 102.9 kB / 0.6883 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.1266, allocations: 39.7 kB / 0.6883 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.1271, allocations: 201 kB / 0.6885 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.1273, allocations: 263.9 kB / 0.6887 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1275, allocations: 93.56 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.1275, allocations: 83.62 kB / 0.6889 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1277, allocations: 107.5 kB / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1277, allocations: 8 kB / 0.689 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.128, allocations: 192.5 kB / 0.6892 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.1281, allocations: 71.75 kB / 0.6893 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1282, allocations: 158.3 kB / 0.6894 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.1286, allocations: 0.5217 MB / 0.6899 GB, free: 10.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1286, allocations: 0 / 0.6899 GB, free: 10.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1286, allocations: 0 / 0.6899 GB, free: 10.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1286, allocations: 0.6562 kB / 0.6899 GB, free: 10.17 MB / 494.1 MB 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.0008479/0.1295, allocations: 0.7747 MB / 0.6907 GB, free: 9.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1295, allocations: 8.031 kB / 0.6907 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.1296, allocations: 50.73 kB / 0.6907 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.1296, allocations: 32.56 kB / 0.6908 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.1299, allocations: 324.4 kB / 0.6911 GB, free: 8.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.13, allocations: 12.66 kB / 0.6911 GB, free: 8.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.13, allocations: 20.38 kB / 0.6911 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.1306, allocations: 311 kB / 0.6914 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.1306, allocations: 0 / 0.6914 GB, free: 8.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1306, allocations: 8 kB / 0.6914 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1306, allocations: 0 / 0.6914 GB, free: 8.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.1312, allocations: 312 kB / 0.6917 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.1321, allocations: 0.6757 MB / 0.6924 GB, free: 7.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.1326, allocations: 250.6 kB / 0.6926 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.1329, allocations: 208.7 kB / 0.6928 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.133, allocations: 4 kB / 0.6928 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.133, allocations: 30.56 kB / 0.6928 GB, free: 6.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.133, allocations: 0 / 0.6928 GB, free: 6.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001228/0.1342, allocations: 0.7199 MB / 0.6935 GB, free: 6.238 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1343, allocations: 144.4 kB / 0.6937 GB, free: 6.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.1346, allocations: 384.4 kB / 0.6941 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1347, allocations: 29.7 kB / 0.6941 GB, free: 5.645 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.1348, allocations: 164.3 kB / 0.6942 GB, free: 5.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.1348, allocations: 39.44 kB / 0.6943 GB, free: 5.441 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1348, allocations: 33.7 kB / 0.6943 GB, free: 5.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.1349, allocations: 342.8 kB / 0.6946 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.1354, allocations: 255.8 kB / 0.6949 GB, free: 4.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.1358, allocations: 258.5 kB / 0.6951 GB, free: 4.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/0.1366, allocations: 0.7031 MB / 0.6958 GB, free: 3.797 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1366, allocations: 0 / 0.6958 GB, free: 3.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009831/0.1376, allocations: 0.7743 MB / 0.6966 GB, free: 2.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.1377, allocations: 182.2 kB / 0.6967 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.1377, allocations: 0 / 0.6967 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.1377, allocations: 0 / 0.6967 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1379, allocations: 43.97 kB / 0.6968 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1379, allocations: 0 / 0.6968 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1381, allocations: 55.66 kB / 0.6968 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1382, allocations: 12 kB / 0.6968 GB, free: 2.656 MB / 494.1 MB 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.0001753/0.1383, allocations: 264.1 kB / 0.6971 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.1384, allocations: 31.62 kB / 0.6971 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.1385, allocations: 30.94 kB / 0.6972 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1385, allocations: 7.938 kB / 0.6972 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1385, allocations: 0 / 0.6972 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1385, allocations: 0 / 0.6972 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.1388, allocations: 345.3 kB / 0.6975 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1388, allocations: 0 / 0.6975 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1389, allocations: 39.97 kB / 0.6975 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1389, allocations: 4 kB / 0.6975 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.139, allocations: 8 kB / 0.6975 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.139, allocations: 0 / 0.6975 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.139, allocations: 4 kB / 0.6975 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.1399, allocations: 0.6562 MB / 0.6982 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.1399, allocations: 112.7 kB / 0.6983 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.14, allocations: 8 kB / 0.6983 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.1402, allocations: 39.95 kB / 0.6983 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.1403, allocations: 31.91 kB / 0.6984 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1403, allocations: 4 kB / 0.6984 GB, free: 0.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.1406, allocations: 275 kB / 0.6986 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1406, allocations: 0 / 0.6986 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.1409, allocations: 99.98 kB / 0.6987 GB, free: 0.5898 MB / 494.1 MB 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.001443/0.1424, allocations: 1.244 MB / 0.7 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.1434, allocations: 0.878 MB / 0.7008 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1434, allocations: 0 / 0.7008 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.1439, allocations: 394 kB / 0.7012 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1443, allocations: 66.09 kB / 0.7012 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.1494, allocations: 4.594 MB / 0.7057 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1497, allocations: 0.7909 MB / 0.7065 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.016e-05/0.1497, allocations: 17.95 kB / 0.7065 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1499, allocations: 87.41 kB / 0.7066 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1499, allocations: 0 / 0.7066 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.592/1.742, allocations: 7.967 MB / 0.7144 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.742, allocations: 256.2 kB / 0.7146 GB, free: 288 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/4.166, allocations: 3.812 kB / 0.7146 GB, free: 288 kB / 0.4981 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)