Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_dev_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.001156/0.001156, 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.001166/0.001166, allocations: 198.6 kB / 16.14 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8469/0.8469, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 66.73 kB / 0.5048 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.125, allocations: 80.91 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002938/0.1279, allocations: 2.14 MB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1295, allocations: 1.216 MB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.1296, allocations: 4 kB / 0.5871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.1299, allocations: 99.81 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.07e-05/0.13, allocations: 39.72 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.1305, allocations: 206.5 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1307, allocations: 263.3 kB / 0.5877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1309, allocations: 103 kB / 0.5878 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.131, allocations: 87.64 kB / 0.5879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1311, allocations: 115.5 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.1311, allocations: 16 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.1314, allocations: 207.7 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.1315, allocations: 83.67 kB / 0.5883 GB, free: 300 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1316, allocations: 135.2 kB / 0.5884 GB, free: 164 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004554/0.1321, allocations: 0.5297 MB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1321, allocations: 0 / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.72e-07/0.1321, allocations: 0 / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1321, allocations: 0 / 0.5889 GB, free: 15.63 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.0009312/0.1331, allocations: 0.8126 MB / 0.5897 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1331, allocations: 8.031 kB / 0.5897 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.1332, allocations: 54.73 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.1332, allocations: 32.56 kB / 0.5898 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1336, allocations: 324.4 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1336, allocations: 12.66 kB / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.1336, allocations: 19.94 kB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.1342, allocations: 294.8 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1342, allocations: 0 / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.1342, allocations: 15.94 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1342, allocations: 4 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.1348, allocations: 268.4 kB / 0.5907 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.1357, allocations: 0.6679 MB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.1362, allocations: 226.6 kB / 0.5916 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.1365, allocations: 188.7 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1366, allocations: 4 kB / 0.5917 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.1366, allocations: 34.56 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.495e-06/0.1366, allocations: 0 / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001198/0.1378, allocations: 0.6779 MB / 0.5924 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.1379, allocations: 136.5 kB / 0.5926 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.1382, allocations: 384.4 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1383, allocations: 29.7 kB / 0.593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.1384, allocations: 168.3 kB / 0.5931 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.1384, allocations: 39.45 kB / 0.5932 GB, free: 11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.1385, allocations: 45.7 kB / 0.5932 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1386, allocations: 342.8 kB / 0.5935 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.139, allocations: 239.8 kB / 0.5938 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.1394, allocations: 237.9 kB / 0.594 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008376/0.1403, allocations: 0.6841 MB / 0.5947 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1403, allocations: 0 / 0.5947 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009706/0.1412, allocations: 0.7329 MB / 0.5954 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.495e-05/0.1414, allocations: 192.3 kB / 0.5956 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1414, allocations: 0 / 0.5956 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1414, allocations: 0 / 0.5956 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1415, allocations: 31.95 kB / 0.5956 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1415, allocations: 4 kB / 0.5956 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.1417, allocations: 43.66 kB / 0.5956 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1418, allocations: 15.94 kB / 0.5956 GB, free: 8.309 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.0001887/0.142, allocations: 262.8 kB / 0.5959 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.142, allocations: 31.62 kB / 0.5959 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.1421, allocations: 26.94 kB / 0.596 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1421, allocations: 0 / 0.596 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.1421, allocations: 3.938 kB / 0.596 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1421, allocations: 3.984 kB / 0.596 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.1424, allocations: 349.3 kB / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1424, allocations: 0 / 0.5963 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1426, allocations: 27.97 kB / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1426, allocations: 4 kB / 0.5963 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1426, allocations: 8 kB / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1426, allocations: 0 / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1426, allocations: 0 / 0.5963 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008752/0.1435, allocations: 0.6243 MB / 0.5969 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.1436, allocations: 112.7 kB / 0.597 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1436, allocations: 8 kB / 0.5971 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.1438, allocations: 23.97 kB / 0.5971 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.1439, allocations: 27.97 kB / 0.5971 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.144, allocations: 11.98 kB / 0.5971 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000258/0.1442, allocations: 275 kB / 0.5974 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1442, allocations: 7.938 kB / 0.5974 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003537/0.1446, allocations: 104 kB / 0.5975 GB, free: 6.289 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.00127/0.1459, allocations: 1.217 MB / 0.5987 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.1469, allocations: 0.8321 MB / 0.5995 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1469, allocations: 0 / 0.5995 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.1474, allocations: 382 kB / 0.5998 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1478, allocations: 69.94 kB / 0.5999 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1966/0.3445, allocations: 4.49 MB / 0.6043 GB, free: 51.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.3447, allocations: 0.7828 MB / 0.6051 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.3448, allocations: 24.5 kB / 0.6051 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3449, allocations: 87.98 kB / 0.6052 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.3449, allocations: 0 / 0.6052 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5437/0.8887, allocations: 8.025 MB / 0.613 GB, free: 50.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.8888, allocations: 224.8 kB / 0.6132 GB, free: 50.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.727, allocations: 0 / 0.6132 GB, free: 50.59 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)