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.001243/0.001244, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001123/0.001123, allocations: 185.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.356/1.356, 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.002198/0.002198, allocations: 294 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.9562/0.9562, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4387, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004776/0.4435, allocations: 3.753 MB / 0.7707 GB, free: 160 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007549/0.4511, allocations: 4.884 MB / 0.7755 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004991/0.4517, allocations: 12 kB / 0.7755 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003429/0.4551, allocations: 1.407 MB / 0.7769 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.4567, allocations: 0.7858 MB / 0.7776 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.4584, allocations: 0.8423 MB / 0.7785 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.018/0.4764, allocations: 12.81 MB / 0.791 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002794/0.4767, allocations: 89.75 kB / 0.7911 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.4778, allocations: 0.584 MB / 0.7916 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009694/0.4788, allocations: 0.5876 MB / 0.7922 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.4791, allocations: 75.98 kB / 0.7923 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.4807, allocations: 0.8306 MB / 0.7931 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007503/0.4815, allocations: 0.7948 MB / 0.7939 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.4827, allocations: 0.8391 MB / 0.7947 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.486, allocations: 2.542 MB / 0.7972 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.486, allocations: 0 / 0.7972 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.486, allocations: 0 / 0.7972 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.513e-05/0.4861, allocations: 0 / 0.7972 GB, free: 5.02 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.004781/0.4909, allocations: 2.207 MB / 0.7993 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4909, allocations: 12.03 kB / 0.7993 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.4936, allocations: 481.2 kB / 0.7998 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/0.4989, allocations: 2.813 MB / 0.8025 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.4989, allocations: 28 kB / 0.8026 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.4991, allocations: 35.94 kB / 0.8026 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.5005, allocations: 0.6456 MB / 0.8032 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5005, allocations: 3.984 kB / 0.8032 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.977e-05/0.5006, allocations: 8 kB / 0.8032 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.5006, allocations: 4 kB / 0.8032 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.5021, allocations: 0.527 MB / 0.8038 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004365/0.5065, allocations: 2.237 MB / 0.8059 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.5082, allocations: 0.6906 MB / 0.8066 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007682/0.509, allocations: 284.7 kB / 0.8069 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.509, allocations: 7.938 kB / 0.8069 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.5091, allocations: 34.56 kB / 0.8069 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.5091, allocations: 0 / 0.8069 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.002899/0.512, allocations: 1.028 MB / 0.8079 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.512, allocations: 51.41 kB / 0.808 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/0.5162, allocations: 2.68 MB / 0.8106 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.5163, allocations: 41.69 kB / 0.8106 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/0.517, allocations: 0.6606 MB / 0.8113 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.5171, allocations: 86.83 kB / 0.8114 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/0.5176, allocations: 346.3 kB / 0.8117 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5177, allocations: 305.1 kB / 0.812 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.5195, allocations: 1.099 MB / 0.8131 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.5214, allocations: 1.448 MB / 0.8145 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.5247, allocations: 2.325 MB / 0.8167 GB, free: 476 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.5247, allocations: 7.938 kB / 0.8168 GB, free: 468 kB / 0.5762 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004342/0.529, allocations: 2.726 MB / 0.8194 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5291, allocations: 8 kB / 0.8194 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.5291, allocations: 8 kB / 0.8194 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.5291, allocations: 12 kB / 0.8194 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5302, allocations: 259.6 kB / 0.8197 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-05/0.5302, allocations: 20.03 kB / 0.8197 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.5319, allocations: 214.3 kB / 0.8199 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.532, allocations: 75.98 kB / 0.82 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002179/0.5342, allocations: 1.397 MB / 0.8214 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001773/0.536, allocations: 1.3 MB / 0.8226 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002924/0.539, allocations: 2.015 MB / 0.8246 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/0.539, allocations: 0 / 0.8246 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004018/0.543, allocations: 2.424 MB / 0.827 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.543, allocations: 22.77 kB / 0.827 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5431, allocations: 4 kB / 0.827 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5431, allocations: 12 kB / 0.827 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.5441, allocations: 247.7 kB / 0.8272 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/0.5441, allocations: 15.94 kB / 0.8272 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.5459, allocations: 179 kB / 0.8274 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.546, allocations: 67.97 kB / 0.8275 GB, free: 5.25 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.0002906/0.5463, allocations: 239.8 kB / 0.8277 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/0.5468, allocations: 169.7 kB / 0.8279 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.5491, allocations: 0.807 MB / 0.8287 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5491, allocations: 4 kB / 0.8287 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5491, allocations: 0 / 0.8287 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5491, allocations: 0 / 0.8287 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.5508, allocations: 1.051 MB / 0.8297 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5508, allocations: 0 / 0.8297 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.5513, allocations: 95.86 kB / 0.8298 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5514, allocations: 0 / 0.8298 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.5514, allocations: 8 kB / 0.8298 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5514, allocations: 0 / 0.8298 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5514, allocations: 4 kB / 0.8298 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.5533, allocations: 0.8547 MB / 0.8306 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.554, allocations: 362.5 kB / 0.831 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.5542, allocations: 4 kB / 0.831 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009567/0.5552, allocations: 95.89 kB / 0.8311 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.5552, allocations: 19.98 kB / 0.8311 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.5553, allocations: 19.98 kB / 0.8311 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002568/0.5579, allocations: 1.827 MB / 0.8329 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5579, allocations: 0 / 0.8329 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001804/0.5597, allocations: 0.6833 MB / 0.8336 GB, free: 14.9 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.0007981/0.5605, allocations: 378.9 kB / 0.8339 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004428/0.5649, allocations: 2.771 MB / 0.8366 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5649, allocations: 4.062 kB / 0.8366 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007595/0.5657, allocations: 291.8 kB / 0.8369 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/0.569, allocations: 0.8991 MB / 0.8378 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.5735, allocations: 2.944 MB / 0.8407 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.5745, allocations: 1.401 MB / 0.842 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.5751, allocations: 143.4 kB / 0.8422 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of SimCode: time 8.81e-07/0.5751, allocations: 4 kB / 0.8422 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.04325/0.6184, allocations: 30.8 MB / 0.8722 GB, free: 7.582 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)