Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.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.EulerComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006283/0.006283, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.001318/0.001318, allocations: 195.6 kB / 16.68 MB, free: 5.977 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 275 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9596/0.9596, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 87.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1686, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004651/0.1732, allocations: 3.759 MB / 0.7701 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3427/0.516, allocations: 4.883 MB / 0.7748 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.5172, allocations: 16.19 kB / 0.7748 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004582/0.5219, allocations: 1.408 MB / 0.7762 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.5239, allocations: 0.7791 MB / 0.777 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.5259, allocations: 0.8451 MB / 0.7778 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01927/0.5452, allocations: 12.8 MB / 0.7903 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.5455, allocations: 96.22 kB / 0.7904 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.5466, allocations: 0.5544 MB / 0.7909 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007755/0.5474, allocations: 0.5914 MB / 0.7915 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.5476, allocations: 70.28 kB / 0.7916 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.5495, allocations: 0.8382 MB / 0.7924 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009693/0.5505, allocations: 0.8014 MB / 0.7932 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009486/0.5515, allocations: 0.8353 MB / 0.794 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.5555, allocations: 2.547 MB / 0.7965 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5555, allocations: 0 / 0.7965 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5555, allocations: 1.188 kB / 0.7965 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.316e-05/0.5556, allocations: 0 / 0.7965 GB, free: 4.512 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.004699/0.5603, allocations: 2.264 MB / 0.7987 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5603, allocations: 8.875 kB / 0.7987 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002645/0.563, allocations: 494.2 kB / 0.7992 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.5684, allocations: 2.845 MB / 0.802 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.5684, allocations: 20.53 kB / 0.802 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.5685, allocations: 34.91 kB / 0.802 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.5698, allocations: 0.6559 MB / 0.8026 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5698, allocations: 0 / 0.8026 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/0.5698, allocations: 5.062 kB / 0.8026 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5698, allocations: 8.234 kB / 0.8027 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.5712, allocations: 0.5248 MB / 0.8032 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004088/0.5753, allocations: 2.234 MB / 0.8054 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.577, allocations: 0.6929 MB / 0.806 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.5778, allocations: 288.4 kB / 0.8063 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.5778, allocations: 2.656 kB / 0.8063 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.5778, allocations: 41.53 kB / 0.8063 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.5779, allocations: 0 / 0.8063 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.002942/0.5808, allocations: 1.027 MB / 0.8073 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.5809, allocations: 57.81 kB / 0.8074 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.5849, allocations: 2.68 MB / 0.81 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.5851, allocations: 40.39 kB / 0.8101 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/0.5857, allocations: 0.6713 MB / 0.8107 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.5858, allocations: 83.78 kB / 0.8108 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.5863, allocations: 356.9 kB / 0.8111 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.5864, allocations: 302.3 kB / 0.8114 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.5881, allocations: 1.095 MB / 0.8125 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.59, allocations: 1.442 MB / 0.8139 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/0.5934, allocations: 2.326 MB / 0.8162 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.5934, allocations: 1.312 kB / 0.8162 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004583/0.598, allocations: 2.744 MB / 0.8189 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.598, allocations: 10.91 kB / 0.8189 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.598, allocations: 6.875 kB / 0.8189 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.5981, allocations: 16.31 kB / 0.8189 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.5991, allocations: 261.4 kB / 0.8191 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.5992, allocations: 22.3 kB / 0.8192 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.6011, allocations: 208.9 kB / 0.8194 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6013, allocations: 75.64 kB / 0.8194 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002382/0.6037, allocations: 1.396 MB / 0.8208 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001822/0.6055, allocations: 1.295 MB / 0.8221 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00286/0.6084, allocations: 2.019 MB / 0.824 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/0.6084, allocations: 6.562 kB / 0.824 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004355/0.6128, allocations: 2.433 MB / 0.8264 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6128, allocations: 15.92 kB / 0.8264 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.6128, allocations: 8 kB / 0.8264 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.6129, allocations: 12.66 kB / 0.8264 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.6139, allocations: 247.7 kB / 0.8267 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/0.6139, allocations: 19.88 kB / 0.8267 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.6161, allocations: 178.3 kB / 0.8269 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.6162, allocations: 67.97 kB / 0.8269 GB, free: 3.586 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003484/0.6166, allocations: 236.5 kB / 0.8272 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006397/0.6172, allocations: 182.7 kB / 0.8273 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.6196, allocations: 0.7966 MB / 0.8281 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6196, allocations: 11.12 kB / 0.8281 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6196, allocations: 0 / 0.8281 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.6196, allocations: 1.25 kB / 0.8281 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.622, allocations: 1.057 MB / 0.8292 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.622, allocations: 0 / 0.8292 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.6226, allocations: 87.92 kB / 0.8292 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6226, allocations: 0 / 0.8292 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.6226, allocations: 8 kB / 0.8292 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6226, allocations: 7.938 kB / 0.8293 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6226, allocations: 0 / 0.8293 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.6248, allocations: 0.869 MB / 0.8301 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.6258, allocations: 364.3 kB / 0.8305 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006199/0.6265, allocations: 4 kB / 0.8305 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.6278, allocations: 91.83 kB / 0.8305 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.6279, allocations: 15.98 kB / 0.8306 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.628, allocations: 23.92 kB / 0.8306 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003607/0.6316, allocations: 1.827 MB / 0.8324 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6316, allocations: 0 / 0.8324 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003227/0.6348, allocations: 0.6792 MB / 0.833 GB, free: 13.24 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (23): * Single equations (assignments): 23 * 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.001308/0.6362, allocations: 402.6 kB / 0.8334 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004776/0.6409, allocations: 2.775 MB / 0.8361 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.641, allocations: 0 / 0.8361 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007416/0.6417, allocations: 293 kB / 0.8364 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/0.6457, allocations: 0.8983 MB / 0.8373 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.651, allocations: 2.912 MB / 0.8401 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.6523, allocations: 1.42 MB / 0.8415 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002028/0.6544, allocations: 0.5224 MB / 0.842 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/0.655, allocations: 139.4 kB / 0.8422 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/0.655, allocations: 0 / 0.8422 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of Templates: time 0.0602/0.7152, allocations: 38.86 MB / 0.8801 GB, free: 13.76 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1)