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.005466/0.005466, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001236/0.001236, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 274.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9541/0.9541, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 96.28 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1742, allocations: 86.97 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002209/0.1764, allocations: 0.5323 MB / 0.7669 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1778, allocations: 0.6277 MB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.1778, allocations: 0 / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.1779, allocations: 3.938 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.1779, allocations: 0 / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008112/0.1787, allocations: 167.5 kB / 0.7677 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.1788, allocations: 8 kB / 0.7677 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.1788, allocations: 3.984 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.1789, allocations: 0 / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.343e-05/0.1789, allocations: 11.92 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1789, allocations: 3.984 kB / 0.7677 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.1794, allocations: 187.8 kB / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1794, allocations: 0 / 0.7679 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.289e-05/0.1794, allocations: 3.984 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.1798, allocations: 131.7 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1798, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1798, allocations: 0 / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1798, allocations: 4 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB 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.0004112/0.1802, allocations: 347.6 kB / 0.7683 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1803, allocations: 8.031 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1803, allocations: 0.9375 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1804, allocations: 168.3 kB / 0.7685 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1805, allocations: 384 / 0.7685 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1805, allocations: 4.375 kB / 0.7685 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.1806, allocations: 38.25 kB / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1806, allocations: 192 / 0.7686 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1807, allocations: 3.938 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1807, allocations: 3.938 kB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.1807, allocations: 8 kB / 0.7686 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.181, allocations: 157.6 kB / 0.7687 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.1811, allocations: 34.61 kB / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.1811, allocations: 8.859 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.1823, allocations: 0.6884 MB / 0.7694 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1823, allocations: 30.56 kB / 0.7695 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 3.406e-06/0.1823, allocations: 3.938 kB / 0.7695 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.00017/0.1825, allocations: 53.56 kB / 0.7695 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1825, allocations: 51.41 kB / 0.7696 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.1826, allocations: 89.86 kB / 0.7697 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1826, allocations: 29.7 kB / 0.7697 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.1827, allocations: 80.14 kB / 0.7698 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1827, allocations: 8.422 kB / 0.7698 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.1828, allocations: 21.7 kB / 0.7698 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1829, allocations: 310.8 kB / 0.7701 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.1829, allocations: 8 kB / 0.7701 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.183, allocations: 13.72 kB / 0.7701 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.183, allocations: 33.58 kB / 0.7701 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.183, allocations: 0 / 0.7701 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001123/0.1832, allocations: 53.62 kB / 0.7702 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1832, allocations: 8 kB / 0.7702 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1832, allocations: 0 / 0.7702 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1832, allocations: 3.938 kB / 0.7702 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.1833, allocations: 4.328 kB / 0.7702 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.1833, allocations: 4 kB / 0.7702 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.1833, allocations: 4 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1833, allocations: 0 / 0.7702 GB, free: 4.125 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.1834, allocations: 114.5 kB / 0.7703 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1834, allocations: 3.906 kB / 0.7703 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.1836, allocations: 61.03 kB / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1836, allocations: 0 / 0.7704 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1836, allocations: 4 kB / 0.7704 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1836, allocations: 0 / 0.7704 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1838, allocations: 153.7 kB / 0.7705 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1838, allocations: 0 / 0.7705 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.1838, allocations: 4 kB / 0.7705 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1839, allocations: 0 / 0.7705 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1839, allocations: 3.938 kB / 0.7705 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1839, allocations: 8 kB / 0.7706 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1839, allocations: 0 / 0.7706 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.1841, allocations: 73.12 kB / 0.7706 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1841, allocations: 81.09 kB / 0.7707 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1841, allocations: 3.938 kB / 0.7707 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.67e-05/0.1842, allocations: 11.91 kB / 0.7707 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1842, allocations: 0 / 0.7707 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1842, allocations: 4.062 kB / 0.7707 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.1842, allocations: 75.28 kB / 0.7708 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1842, allocations: 0 / 0.7708 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003976/0.1846, allocations: 55.92 kB / 0.7708 GB, free: 3.379 MB / 0.5606 GB 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 (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.0003773/0.185, allocations: 167.3 kB / 0.771 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.75e-05/0.1851, allocations: 19.98 kB / 0.771 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1852, allocations: 0 / 0.771 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.1852, allocations: 12 kB / 0.771 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1854, allocations: 7.938 kB / 0.771 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.1857, allocations: 101.5 kB / 0.7711 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.186, allocations: 0.6769 MB / 0.7718 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.186, allocations: 0 / 0.7718 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.1861, allocations: 11.44 kB / 0.7718 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1861, allocations: 0 / 0.7718 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.004668/0.1908, allocations: 1.256 MB / 0.773 GB, free: 1.066 MB / 0.5606 GB 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)