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.001306/0.001306, allocations: 113.9 kB / 16.41 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.001152/0.001153, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 289.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9587/0.9587, allocations: 169.2 MB / 0.499 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 100.2 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4357, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001594/0.4373, allocations: 0.5309 MB / 0.7676 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.4384, allocations: 0.6256 MB / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.4385, allocations: 0 / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.4385, allocations: 0 / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.221e-06/0.4385, allocations: 4 kB / 0.7682 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.4391, allocations: 171.5 kB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.349e-05/0.4392, allocations: 8 kB / 0.7684 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.4392, allocations: 7.984 kB / 0.7684 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.4392, allocations: 0 / 0.7684 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.715e-05/0.4393, allocations: 0 / 0.7684 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.4393, allocations: 3.938 kB / 0.7684 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.4396, allocations: 195.7 kB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.4396, allocations: 7.938 kB / 0.7686 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.4397, allocations: 4 kB / 0.7686 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.4399, allocations: 123.8 kB / 0.7687 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4399, allocations: 0 / 0.7687 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4399, allocations: 0 / 0.7687 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4399, allocations: 0 / 0.7687 GB, free: 2.266 MB / 0.5294 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.000383/0.4403, allocations: 351.5 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4403, allocations: 12.03 kB / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.4404, allocations: 0.9375 kB / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.4405, allocations: 164 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.4405, allocations: 4.375 kB / 0.7692 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4405, allocations: 4.375 kB / 0.7692 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.4406, allocations: 38.25 kB / 0.7692 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.4407, allocations: 192 / 0.7692 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.4407, allocations: 3.938 kB / 0.7692 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4407, allocations: 3.938 kB / 0.7692 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.4407, allocations: 7.984 kB / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.441, allocations: 153.7 kB / 0.7694 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.4411, allocations: 42.59 kB / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.4411, allocations: 4.859 kB / 0.7694 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008971/0.442, allocations: 0.6884 MB / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.442, allocations: 34.56 kB / 0.7701 GB, free: 472 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.442, allocations: 3.938 kB / 0.7701 GB, free: 468 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000144/0.4422, allocations: 49.62 kB / 0.7702 GB, free: 412 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.4422, allocations: 51.41 kB / 0.7702 GB, free: 348 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.84e-05/0.4423, allocations: 89.86 kB / 0.7703 GB, free: 248 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4423, allocations: 25.7 kB / 0.7704 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.4423, allocations: 84.14 kB / 0.7704 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.4424, allocations: 15.8 kB / 0.7704 GB, free: 112 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.4424, allocations: 13.72 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4426, allocations: 314.8 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.4426, allocations: 4 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.4426, allocations: 17.7 kB / 0.7708 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.4427, allocations: 33.59 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4427, allocations: 0 / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.469e-05/0.4428, allocations: 53.62 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4428, allocations: 4 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4428, allocations: 0 / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4428, allocations: 3.938 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.02e-05/0.4428, allocations: 8 kB / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4429, allocations: 3.938 kB / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.4429, allocations: 4 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4429, allocations: 4 kB / 0.7709 GB, free: 15.62 MB / 0.545 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.003e-05/0.443, allocations: 113.9 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.443, allocations: 0 / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.991e-05/0.4431, allocations: 57.06 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4431, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4431, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4431, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.4433, allocations: 157.6 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4433, allocations: 4 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.4433, allocations: 4 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.4433, allocations: 8 kB / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.4433, allocations: 3.938 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4433, allocations: 0 / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4433, allocations: 0 / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4435, allocations: 77.52 kB / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.4435, allocations: 83.67 kB / 0.7714 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.4436, allocations: 3.938 kB / 0.7714 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-06/0.4436, allocations: 3.938 kB / 0.7714 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.4436, allocations: 4.062 kB / 0.7714 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.4436, allocations: 4 kB / 0.7714 GB, free: 15.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.4436, allocations: 75.28 kB / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4436, allocations: 0 / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002525/0.4439, allocations: 47.98 kB / 0.7715 GB, free: 14.89 MB / 0.545 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.0003121/0.4442, allocations: 167.1 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.729e-05/0.4443, allocations: 16.05 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4443, allocations: 4 kB / 0.7717 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.4443, allocations: 11.94 kB / 0.7717 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.4445, allocations: 0 / 0.7717 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.4448, allocations: 127.3 kB / 0.7718 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.445, allocations: 0.6729 MB / 0.7725 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.445, allocations: 7.438 kB / 0.7725 GB, free: 13.81 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.445, allocations: 0 / 0.7725 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Templates: time 0.002804/0.4478, allocations: 1.354 MB / 0.7738 GB, free: 12.46 MB / 0.545 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)