Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.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: translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008361/0.0008362, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 269.8 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 14.14 kB / 0.598 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.0005377/0.1391, allocations: 259.4 kB / 0.6847 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.14, allocations: 0.5762 MB / 0.6853 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-06/0.1401, allocations: 4 kB / 0.6853 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.045e-05/0.1401, allocations: 0 / 0.6853 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.1401, allocations: 0 / 0.6853 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.1406, allocations: 127.7 kB / 0.6854 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.14e-05/0.1406, allocations: 4 kB / 0.6854 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.1406, allocations: 5.312 kB / 0.6854 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.1407, allocations: 0 / 0.6854 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.837e-05/0.1407, allocations: 7.922 kB / 0.6854 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.1407, allocations: 4.625 kB / 0.6854 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.141, allocations: 205.9 kB / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-06/0.141, allocations: 0 / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.1411, allocations: 29.7 kB / 0.6857 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1412, allocations: 75.88 kB / 0.6857 GB, free: 14.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1412, allocations: 0 / 0.6857 GB, free: 14.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1412, allocations: 0 / 0.6857 GB, free: 14.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1413, allocations: 0.5 kB / 0.6857 GB, free: 14.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002651/0.1415, allocations: 348.1 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1416, allocations: 8.75 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1416, allocations: 7.953 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.881e-05/0.1417, allocations: 166.7 kB / 0.6862 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1417, allocations: 0 / 0.6862 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1417, allocations: 4 kB / 0.6862 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.445e-05/0.1418, allocations: 37.62 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.1418, allocations: 0 / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1418, allocations: 0 / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1419, allocations: 4 kB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.265e-05/0.1419, allocations: 7.953 kB / 0.6863 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.1421, allocations: 158.2 kB / 0.6864 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.353e-05/0.1422, allocations: 32.17 kB / 0.6865 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.1422, allocations: 16.8 kB / 0.6865 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008043/0.143, allocations: 0.6811 MB / 0.6872 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1431, allocations: 38.48 kB / 0.6872 GB, free: 12.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1431, allocations: 0 / 0.6872 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001261/0.1432, allocations: 49.69 kB / 0.6872 GB, free: 12.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.1432, allocations: 51.41 kB / 0.6873 GB, free: 12.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.121e-05/0.1433, allocations: 89.86 kB / 0.6874 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1433, allocations: 29.7 kB / 0.6874 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.1433, allocations: 84.08 kB / 0.6875 GB, free: 12.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1434, allocations: 11.81 kB / 0.6875 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.1434, allocations: 0 / 0.6875 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.1435, allocations: 314.8 kB / 0.6878 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.1435, allocations: 7.984 kB / 0.6878 GB, free: 11.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.1435, allocations: 25.66 kB / 0.6878 GB, free: 11.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.1435, allocations: 8 kB / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1435, allocations: 0 / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.047e-05/0.1436, allocations: 45.97 kB / 0.6879 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1436, allocations: 8 kB / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1437, allocations: 0 / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1437, allocations: 4.031 kB / 0.6879 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.634e-05/0.1437, allocations: 11.94 kB / 0.6879 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1437, allocations: 12.02 kB / 0.6879 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.1437, allocations: 0 / 0.6879 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1437, allocations: 0 / 0.6879 GB, free: 11.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.373e-05/0.1438, allocations: 114.5 kB / 0.688 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.1438, allocations: 0 / 0.688 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.817e-05/0.1439, allocations: 45.19 kB / 0.6881 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1439, allocations: 0 / 0.6881 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1439, allocations: 4 kB / 0.6881 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.144, allocations: 4 kB / 0.6881 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1441, allocations: 161.6 kB / 0.6882 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1441, allocations: 3.938 kB / 0.6882 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.1441, allocations: 7.938 kB / 0.6882 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1441, allocations: 0 / 0.6882 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1441, allocations: 0 / 0.6882 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1441, allocations: 3.984 kB / 0.6882 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1442, allocations: 0 / 0.6882 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.1443, allocations: 80.98 kB / 0.6883 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.1443, allocations: 81.17 kB / 0.6884 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.1443, allocations: 0 / 0.6884 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.1443, allocations: 4.031 kB / 0.6884 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.1444, allocations: 3.984 kB / 0.6884 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1444, allocations: 0 / 0.6884 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.401e-05/0.1444, allocations: 79.31 kB / 0.6885 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1444, allocations: 0 / 0.6885 GB, free: 10.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1447, allocations: 55.94 kB / 0.6885 GB, free: 10.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002788/0.1449, allocations: 175.1 kB / 0.6887 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.968e-05/0.145, allocations: 16 kB / 0.6887 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.145, allocations: 0 / 0.6887 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.1451, allocations: 4.094 kB / 0.6887 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.1452, allocations: 12.19 kB / 0.6887 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.1454, allocations: 116.9 kB / 0.6888 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.1456, allocations: 0.6771 MB / 0.6895 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.675e-05/0.1456, allocations: 4 kB / 0.6895 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.1456, allocations: 11.44 kB / 0.6895 GB, free: 9.789 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1457, allocations: 0 / 0.6895 GB, free: 9.789 MB / 494.1 MB Notification: Performance of Templates: time 0.003302/0.149, allocations: 1.223 MB / 0.6907 GB, free: 8.566 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)