Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_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.001328/0.001328, 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.001469/0.001469, allocations: 196.2 kB / 16.14 MB, free: 6.707 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.204/1.204, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.666/0.666, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 63.59 kB / 0.5012 GB, free: 9.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1207, allocations: 80.2 MB / 0.5795 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002657/0.1234, allocations: 2.136 MB / 0.5816 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1249, allocations: 1.212 MB / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.1249, allocations: 4 kB / 0.5828 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.1252, allocations: 99.83 kB / 0.5829 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.1253, allocations: 43.69 kB / 0.5829 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.1258, allocations: 206.7 kB / 0.5831 GB, free: 5.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.126, allocations: 263.3 kB / 0.5834 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1261, allocations: 94.73 kB / 0.5835 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.1262, allocations: 95.55 kB / 0.5836 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1264, allocations: 115.5 kB / 0.5837 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.1264, allocations: 20 kB / 0.5837 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1267, allocations: 203.7 kB / 0.5839 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.1267, allocations: 79.73 kB / 0.584 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1268, allocations: 135.2 kB / 0.5841 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.1273, allocations: 0.5335 MB / 0.5846 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1273, allocations: 0 / 0.5846 GB, free: 3.855 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1273, allocations: 0 / 0.5846 GB, free: 3.855 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1273, allocations: 0 / 0.5846 GB, free: 3.855 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.0008971/0.1282, allocations: 0.8127 MB / 0.5854 GB, free: 2.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1282, allocations: 12.03 kB / 0.5854 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1283, allocations: 46.73 kB / 0.5855 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.1283, allocations: 32.56 kB / 0.5855 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1286, allocations: 324.4 kB / 0.5858 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1287, allocations: 12.66 kB / 0.5858 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.1287, allocations: 19.94 kB / 0.5858 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.1292, allocations: 290.9 kB / 0.5861 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1292, allocations: 0 / 0.5861 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1292, allocations: 8 kB / 0.5861 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1293, allocations: 4 kB / 0.5861 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/0.1298, allocations: 276.2 kB / 0.5864 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.1306, allocations: 0.6757 MB / 0.587 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.1311, allocations: 234.6 kB / 0.5873 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.1314, allocations: 192.7 kB / 0.5874 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1314, allocations: 0 / 0.5874 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.1315, allocations: 34.56 kB / 0.5875 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1315, allocations: 0 / 0.5875 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001116/0.1326, allocations: 0.674 MB / 0.5881 GB, free: 4 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1327, allocations: 136.5 kB / 0.5883 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.133, allocations: 388.3 kB / 0.5886 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.133, allocations: 25.7 kB / 0.5887 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.1331, allocations: 164.3 kB / 0.5888 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1332, allocations: 47.44 kB / 0.5889 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.1332, allocations: 45.7 kB / 0.5889 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.1333, allocations: 346.7 kB / 0.5892 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.1337, allocations: 231.9 kB / 0.5895 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.1341, allocations: 251.3 kB / 0.5897 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/0.1349, allocations: 0.6718 MB / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1349, allocations: 0 / 0.5904 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009046/0.1358, allocations: 0.7334 MB / 0.5911 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.1359, allocations: 186.2 kB / 0.5913 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1359, allocations: 112 / 0.5913 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.1359, allocations: 3.938 kB / 0.5913 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1361, allocations: 27.97 kB / 0.5913 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1361, allocations: 0 / 0.5913 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.1362, allocations: 47.66 kB / 0.5913 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.1363, allocations: 15.94 kB / 0.5913 GB, free: 12.53 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.0001687/0.1365, allocations: 255.6 kB / 0.5916 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.1365, allocations: 31.62 kB / 0.5916 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1366, allocations: 30.88 kB / 0.5916 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1366, allocations: 4 kB / 0.5916 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1366, allocations: 0 / 0.5916 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1366, allocations: 0 / 0.5916 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.1369, allocations: 353.3 kB / 0.592 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1369, allocations: 0 / 0.592 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.137, allocations: 27.97 kB / 0.592 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.137, allocations: 0 / 0.592 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.137, allocations: 8 kB / 0.592 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.137, allocations: 0 / 0.592 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.137, allocations: 0 / 0.592 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000813/0.1379, allocations: 0.6197 MB / 0.5926 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1379, allocations: 112.7 kB / 0.5927 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.138, allocations: 11.98 kB / 0.5927 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1382, allocations: 27.91 kB / 0.5928 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.1383, allocations: 27.97 kB / 0.5928 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1383, allocations: 12 kB / 0.5928 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002318/0.1385, allocations: 275 kB / 0.5931 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1385, allocations: 0 / 0.5931 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003254/0.1389, allocations: 108 kB / 0.5932 GB, free: 10.52 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.001142/0.14, allocations: 1.217 MB / 0.5944 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009409/0.141, allocations: 0.836 MB / 0.5952 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.141, allocations: 4 kB / 0.5952 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.1414, allocations: 374 kB / 0.5955 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1418, allocations: 75.62 kB / 0.5956 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004814/0.1466, allocations: 4.483 MB / 0.6 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.1469, allocations: 0.787 MB / 0.6008 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.476e-05/0.147, allocations: 21.94 kB / 0.6008 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1471, allocations: 83.41 kB / 0.6009 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1471, allocations: 0 / 0.6009 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4966/0.6437, allocations: 8.019 MB / 0.6087 GB, free: 55.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/0.6439, allocations: 228 kB / 0.6089 GB, free: 55.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.705, allocations: 0 / 0.6089 GB, free: 55.01 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)