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.001231/0.001231, allocations: 107.1 kB / 16.41 MB, free: 6.008 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.00125/0.00125, allocations: 185.5 kB / 17.34 MB, free: 5.629 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 293.2 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.9866/0.9866, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002125, allocations: 99.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4757, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005179/0.4809, allocations: 3.753 MB / 0.7707 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007802/0.4887, allocations: 4.895 MB / 0.7755 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.4892, allocations: 19.88 kB / 0.7755 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.4926, allocations: 1.401 MB / 0.7769 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.4942, allocations: 0.7966 MB / 0.7777 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.496, allocations: 0.8423 MB / 0.7785 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01807/0.5141, allocations: 12.8 MB / 0.791 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.5144, allocations: 101.7 kB / 0.7911 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.5156, allocations: 0.5801 MB / 0.7916 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.5166, allocations: 0.5876 MB / 0.7922 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.5169, allocations: 72 kB / 0.7923 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.5189, allocations: 0.8306 MB / 0.7931 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009248/0.5198, allocations: 0.7987 MB / 0.7939 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009141/0.5207, allocations: 0.843 MB / 0.7947 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.5239, allocations: 2.538 MB / 0.7972 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5239, allocations: 0 / 0.7972 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5239, allocations: 0 / 0.7972 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.524, allocations: 0 / 0.7972 GB, free: 4.977 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.003923/0.5279, allocations: 2.203 MB / 0.7993 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5279, allocations: 8.031 kB / 0.7993 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.5305, allocations: 485.2 kB / 0.7998 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004785/0.5353, allocations: 2.824 MB / 0.8026 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/0.5353, allocations: 27.94 kB / 0.8026 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.5354, allocations: 28 kB / 0.8026 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.5368, allocations: 0.6417 MB / 0.8032 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5369, allocations: 4 kB / 0.8032 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.5369, allocations: 12 kB / 0.8033 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.5369, allocations: 4 kB / 0.8033 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.5384, allocations: 0.527 MB / 0.8038 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.5424, allocations: 2.237 MB / 0.806 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.5441, allocations: 0.6936 MB / 0.8066 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007335/0.5449, allocations: 284.7 kB / 0.8069 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.5449, allocations: 7.938 kB / 0.8069 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5449, allocations: 30.56 kB / 0.8069 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.5449, allocations: 4 kB / 0.8069 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.002894/0.5478, allocations: 1.029 MB / 0.808 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5479, allocations: 51.41 kB / 0.808 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.5516, allocations: 2.68 MB / 0.8106 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.5518, allocations: 37.7 kB / 0.8107 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/0.5524, allocations: 0.6606 MB / 0.8113 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5525, allocations: 86.84 kB / 0.8114 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/0.553, allocations: 346.3 kB / 0.8117 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5531, allocations: 301.1 kB / 0.812 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.5548, allocations: 1.107 MB / 0.8131 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.5567, allocations: 1.448 MB / 0.8145 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.56, allocations: 2.321 MB / 0.8168 GB, free: 432 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.56, allocations: 3.938 kB / 0.8168 GB, free: 428 kB / 0.5762 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004385/0.5644, allocations: 2.734 MB / 0.8194 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.5644, allocations: 8 kB / 0.8194 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5644, allocations: 8 kB / 0.8194 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.5645, allocations: 16.03 kB / 0.8195 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.5655, allocations: 255.6 kB / 0.8197 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.5656, allocations: 19.92 kB / 0.8197 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.5673, allocations: 210.5 kB / 0.8199 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.5675, allocations: 79.92 kB / 0.82 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002177/0.5696, allocations: 1.399 MB / 0.8214 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/0.5714, allocations: 1.3 MB / 0.8226 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002973/0.5744, allocations: 2.011 MB / 0.8246 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.5e-06/0.5744, allocations: 4 kB / 0.8246 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004073/0.5785, allocations: 2.428 MB / 0.827 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5785, allocations: 8 kB / 0.827 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5785, allocations: 8 kB / 0.827 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5785, allocations: 12 kB / 0.827 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.5795, allocations: 251.6 kB / 0.8272 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.5796, allocations: 15.94 kB / 0.8273 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.5812, allocations: 175.1 kB / 0.8274 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.955e-05/0.5813, allocations: 67.97 kB / 0.8275 GB, free: 5.207 MB / 0.5919 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.0003021/0.5816, allocations: 239.8 kB / 0.8277 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/0.5819, allocations: 169.7 kB / 0.8279 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.5841, allocations: 0.8027 MB / 0.8287 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.5841, allocations: 4 kB / 0.8287 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5841, allocations: 0 / 0.8287 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5841, allocations: 0 / 0.8287 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.5855, allocations: 1.055 MB / 0.8297 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5855, allocations: 0 / 0.8297 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.586, allocations: 95.86 kB / 0.8298 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.586, allocations: 0 / 0.8298 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.5861, allocations: 8 kB / 0.8298 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5861, allocations: 0 / 0.8298 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5861, allocations: 3.984 kB / 0.8298 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.5879, allocations: 0.8586 MB / 0.8306 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.5885, allocations: 350.8 kB / 0.831 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.5887, allocations: 8 kB / 0.831 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009689/0.5897, allocations: 91.89 kB / 0.8311 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.5897, allocations: 23.86 kB / 0.8311 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.5898, allocations: 19.98 kB / 0.8311 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00251/0.5923, allocations: 1.828 MB / 0.8329 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5923, allocations: 0 / 0.8329 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001745/0.5941, allocations: 0.6794 MB / 0.8336 GB, free: 14.86 MB / 0.6075 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.0007754/0.5948, allocations: 382.8 kB / 0.8339 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004359/0.5992, allocations: 2.774 MB / 0.8366 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5992, allocations: 0 / 0.8366 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.6, allocations: 292.2 kB / 0.8369 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.603, allocations: 0.9014 MB / 0.8378 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.6075, allocations: 2.952 MB / 0.8407 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009905/0.6085, allocations: 1.405 MB / 0.842 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/0.6091, allocations: 143.4 kB / 0.8422 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of SimCode: time 9.72e-07/0.6091, allocations: 0 / 0.8422 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.04188/0.651, allocations: 30.79 MB / 0.8723 GB, free: 7.535 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)