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.001099/0.001099, allocations: 103.8 kB / 16.35 MB, free: 6.285 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.001186/0.001186, allocations: 193.7 kB / 17.29 MB, free: 5.863 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 290 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.926/0.926, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 95.09 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1611, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004683/0.1658, allocations: 3.742 MB / 0.6853 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.287/0.4528, allocations: 4.878 MB / 0.69 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006206/0.4534, allocations: 19.53 kB / 0.69 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009883/0.4634, allocations: 5.662 MB / 0.6956 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.4654, allocations: 0.7762 MB / 0.6963 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.4674, allocations: 0.8342 MB / 0.6971 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01994/0.4873, allocations: 12.78 MB / 0.7096 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.4876, allocations: 96.25 kB / 0.7097 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4887, allocations: 0.5442 MB / 0.7102 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.4893, allocations: 0.5768 MB / 0.7108 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.4894, allocations: 67.69 kB / 0.7109 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.4909, allocations: 0.8278 MB / 0.7117 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.4915, allocations: 0.7985 MB / 0.7125 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006344/0.4922, allocations: 0.8353 MB / 0.7133 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00229/0.4945, allocations: 2.522 MB / 0.7157 GB, free: 5.816 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4945, allocations: 0 / 0.7157 GB, free: 5.816 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4945, allocations: 0 / 0.7157 GB, free: 5.816 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.4945, allocations: 5.312 kB / 0.7157 GB, free: 5.812 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.003602/0.4981, allocations: 2.171 MB / 0.7179 GB, free: 4.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4982, allocations: 8.594 kB / 0.7179 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.5007, allocations: 486.8 kB / 0.7183 GB, free: 3.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004135/0.5049, allocations: 2.73 MB / 0.721 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.5049, allocations: 27.2 kB / 0.721 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.505, allocations: 29.69 kB / 0.7211 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5062, allocations: 0.6516 MB / 0.7217 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5062, allocations: 0 / 0.7217 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.5062, allocations: 10.81 kB / 0.7217 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.5062, allocations: 4.188 kB / 0.7217 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.5076, allocations: 0.5371 MB / 0.7222 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00352/0.5112, allocations: 2.216 MB / 0.7244 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.5128, allocations: 0.6975 MB / 0.7251 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/0.5135, allocations: 282.6 kB / 0.7253 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.5135, allocations: 11.59 kB / 0.7254 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5136, allocations: 30.56 kB / 0.7254 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.923e-06/0.5136, allocations: 0 / 0.7254 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.002687/0.5163, allocations: 1.031 MB / 0.7264 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.5163, allocations: 54 kB / 0.7264 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003411/0.5197, allocations: 2.607 MB / 0.729 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.572e-05/0.5199, allocations: 40.11 kB / 0.729 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/0.5204, allocations: 0.672 MB / 0.7297 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.5205, allocations: 78.94 kB / 0.7298 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004779/0.521, allocations: 354.2 kB / 0.7301 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.5211, allocations: 305.2 kB / 0.7304 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.5227, allocations: 1.095 MB / 0.7315 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.5245, allocations: 1.448 MB / 0.7329 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003036/0.5275, allocations: 2.323 MB / 0.7351 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.5275, allocations: 4 kB / 0.7351 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004252/0.5318, allocations: 2.732 MB / 0.7378 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.5318, allocations: 11.98 kB / 0.7378 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.5319, allocations: 8.969 kB / 0.7378 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.5319, allocations: 12 kB / 0.7378 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5329, allocations: 263.6 kB / 0.7381 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.533, allocations: 16.77 kB / 0.7381 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.5348, allocations: 214.3 kB / 0.7383 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.5349, allocations: 71.98 kB / 0.7384 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002049/0.537, allocations: 1.393 MB / 0.7397 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001638/0.5386, allocations: 1.292 MB / 0.741 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00274/0.5414, allocations: 2.008 MB / 0.743 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/0.5414, allocations: 4 kB / 0.743 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00384/0.5452, allocations: 2.42 MB / 0.7453 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5453, allocations: 8 kB / 0.7453 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5453, allocations: 9.562 kB / 0.7453 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5453, allocations: 15.94 kB / 0.7454 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.5463, allocations: 251.7 kB / 0.7456 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.5463, allocations: 15.94 kB / 0.7456 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.5481, allocations: 178.3 kB / 0.7458 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.5482, allocations: 67.98 kB / 0.7459 GB, free: 12.12 MB / 0.5137 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.0002956/0.5485, allocations: 235.9 kB / 0.7461 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.5488, allocations: 170.6 kB / 0.7462 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.5508, allocations: 0.804 MB / 0.747 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.5508, allocations: 4 kB / 0.747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5509, allocations: 4 kB / 0.747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5509, allocations: 3.984 kB / 0.747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.5522, allocations: 1.055 MB / 0.7481 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5522, allocations: 0 / 0.7481 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.5528, allocations: 91.86 kB / 0.7482 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5528, allocations: 4 kB / 0.7482 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.5528, allocations: 11.94 kB / 0.7482 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5528, allocations: 0 / 0.7482 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5528, allocations: 0 / 0.7482 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.5545, allocations: 0.8578 MB / 0.749 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.5552, allocations: 358.6 kB / 0.7494 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.5554, allocations: 8.812 kB / 0.7494 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008876/0.5563, allocations: 87.83 kB / 0.7494 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.5564, allocations: 19.98 kB / 0.7495 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.5564, allocations: 15.98 kB / 0.7495 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002264/0.5587, allocations: 1.773 MB / 0.7512 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5587, allocations: 4 kB / 0.7512 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001812/0.5605, allocations: 0.6755 MB / 0.7519 GB, free: 5.832 MB / 0.5137 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.0007697/0.5613, allocations: 386.8 kB / 0.7522 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004127/0.5655, allocations: 2.773 MB / 0.755 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5655, allocations: 0 / 0.755 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.5662, allocations: 295.9 kB / 0.7552 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/0.5692, allocations: 0.8972 MB / 0.7561 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.5744, allocations: 2.961 MB / 0.759 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.5754, allocations: 1.416 MB / 0.7604 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001819/0.5772, allocations: 0.5178 MB / 0.7609 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.5777, allocations: 143.3 kB / 0.761 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.5777, allocations: 0 / 0.761 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.05923/0.6369, allocations: 38.57 MB / 0.7987 GB, free: 6.594 MB / 0.5606 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1)