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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0008951/0.000895, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.133/1.133, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 279 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8521/0.8521, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 91.64 kB / 0.5946 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1205, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002812/0.1233, allocations: 2.128 MB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1248, allocations: 1.217 MB / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.1249, allocations: 0 / 0.6828 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.1252, allocations: 103.5 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.1253, allocations: 43.7 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.1258, allocations: 199.7 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.126, allocations: 267.2 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1261, allocations: 95.03 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.1262, allocations: 87.69 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1264, allocations: 127.4 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.1264, allocations: 12 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.1267, allocations: 199.7 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.1268, allocations: 83.67 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1269, allocations: 135.2 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.1273, allocations: 0.5258 MB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1273, allocations: 4 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1273, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1274, allocations: 7.938 kB / 0.6846 GB, free: 11.84 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.0009334/0.1283, allocations: 0.8049 MB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.1283, allocations: 12.03 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.1284, allocations: 46.73 kB / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.1285, allocations: 40.47 kB / 0.6855 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1288, allocations: 324.4 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1288, allocations: 12.66 kB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.1288, allocations: 16.38 kB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.1294, allocations: 295 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1294, allocations: 0 / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1294, allocations: 4 kB / 0.6861 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1294, allocations: 4 kB / 0.6862 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/0.13, allocations: 276.1 kB / 0.6864 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.1308, allocations: 0.6718 MB / 0.6871 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.1313, allocations: 234.6 kB / 0.6873 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.1317, allocations: 188.9 kB / 0.6875 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1317, allocations: 0 / 0.6875 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.1317, allocations: 34.56 kB / 0.6875 GB, free: 8.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/0.1317, allocations: 4 kB / 0.6875 GB, free: 8.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001171/0.1329, allocations: 0.6731 MB / 0.6882 GB, free: 8.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.133, allocations: 140.5 kB / 0.6883 GB, free: 7.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.1333, allocations: 384.5 kB / 0.6887 GB, free: 7.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1334, allocations: 29.7 kB / 0.6887 GB, free: 7.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.1335, allocations: 164.3 kB / 0.6889 GB, free: 7.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.1335, allocations: 43.34 kB / 0.6889 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.1336, allocations: 49.7 kB / 0.6889 GB, free: 7.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1337, allocations: 346.7 kB / 0.6893 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.1341, allocations: 239.9 kB / 0.6895 GB, free: 6.574 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.1345, allocations: 239.8 kB / 0.6897 GB, free: 6.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.1353, allocations: 0.6775 MB / 0.6904 GB, free: 5.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1353, allocations: 4 kB / 0.6904 GB, free: 5.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009541/0.1363, allocations: 0.7236 MB / 0.6911 GB, free: 4.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.436e-05/0.1364, allocations: 186.2 kB / 0.6913 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1364, allocations: 3.938 kB / 0.6913 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1364, allocations: 0 / 0.6913 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1366, allocations: 31.97 kB / 0.6913 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1366, allocations: 0 / 0.6913 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1368, allocations: 47.69 kB / 0.6914 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.1368, allocations: 11.98 kB / 0.6914 GB, free: 4.523 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.0001888/0.137, allocations: 260.2 kB / 0.6916 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.1371, allocations: 27.62 kB / 0.6916 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.1371, allocations: 34.94 kB / 0.6917 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.1371, allocations: 3.984 kB / 0.6917 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1371, allocations: 0 / 0.6917 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1371, allocations: 0 / 0.6917 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1374, allocations: 353.2 kB / 0.692 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1374, allocations: 0 / 0.692 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.1376, allocations: 31.91 kB / 0.6921 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1376, allocations: 0 / 0.6921 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1376, allocations: 11.94 kB / 0.6921 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1376, allocations: 4 kB / 0.6921 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1376, allocations: 3.984 kB / 0.6921 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008525/0.1385, allocations: 0.6172 MB / 0.6927 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1386, allocations: 108.8 kB / 0.6928 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1386, allocations: 11.98 kB / 0.6928 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1388, allocations: 23.97 kB / 0.6928 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.1389, allocations: 27.97 kB / 0.6928 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1389, allocations: 8 kB / 0.6928 GB, free: 2.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.1392, allocations: 275 kB / 0.6931 GB, free: 2.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1392, allocations: 0 / 0.6931 GB, free: 2.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.1395, allocations: 99.91 kB / 0.6932 GB, free: 2.516 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.001225/0.1408, allocations: 1.225 MB / 0.6944 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009967/0.1418, allocations: 0.8395 MB / 0.6952 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1418, allocations: 0 / 0.6952 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.1422, allocations: 378.1 kB / 0.6956 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1426, allocations: 62.28 kB / 0.6956 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.1477, allocations: 4.499 MB / 0.7 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.148, allocations: 0.7831 MB / 0.7008 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.628e-05/0.1481, allocations: 33.92 kB / 0.7008 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1482, allocations: 83.41 kB / 0.7009 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1482, allocations: 0 / 0.7009 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.242/3.39, allocations: 8.053 MB / 0.7088 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/3.39, allocations: 247.1 kB / 0.709 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/6.434, allocations: 5.562 kB / 0.709 GB, free: 2.277 MB / 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)