Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 67.36 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3366, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.008409/0.3451, allocations: 4.912 MB / 1.058 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3574, allocations: 5.57 MB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.359, allocations: 23.94 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01521/0.3743, allocations: 7.89 MB / 1.071 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004209/0.3786, allocations: 1.092 MB / 1.072 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.3824, allocations: 1.182 MB / 1.073 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0191/0.4015, allocations: 11.84 MB / 1.085 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005213/0.402, allocations: 143 kB / 1.085 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.4039, allocations: 0.8371 MB / 1.086 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.4055, allocations: 0.8521 MB / 1.086 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004796/0.406, allocations: 92 kB / 1.087 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.4101, allocations: 1.373 MB / 1.088 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001773/0.412, allocations: 1.138 MB / 1.089 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002894/0.4149, allocations: 1.255 MB / 1.09 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008378/0.4233, allocations: 3.948 MB / 1.094 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.4233, allocations: 0 / 1.094 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.529e-06/0.4233, allocations: 4 kB / 1.094 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001543/0.4235, allocations: 3.938 kB / 1.094 GB, free: 14.08 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.009497/0.433, allocations: 3.056 MB / 1.097 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.4331, allocations: 12.62 kB / 1.097 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.4333, allocations: 62.53 kB / 1.097 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.4378, allocations: 0.7146 MB / 1.098 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008759/0.4466, allocations: 4.167 MB / 1.102 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.4468, allocations: 37.11 kB / 1.102 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004721/0.4473, allocations: 51.94 kB / 1.102 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.45, allocations: 0.9884 MB / 1.103 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.45, allocations: 3.938 kB / 1.103 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.4501, allocations: 12 kB / 1.103 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4501, allocations: 4 kB / 1.103 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.4523, allocations: 0.8532 MB / 1.104 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008734/0.4611, allocations: 3.253 MB / 1.107 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.4636, allocations: 1.141 MB / 1.108 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.4647, allocations: 449.1 kB / 1.109 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.219e-05/0.4648, allocations: 28.19 kB / 1.109 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4649, allocations: 34.84 kB / 1.109 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/0.4649, allocations: 0 / 1.109 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.004684/0.4696, allocations: 1.62 MB / 1.11 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.4697, allocations: 63.39 kB / 1.11 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009511/0.4792, allocations: 3.747 MB / 1.114 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0004364/0.4797, allocations: 45.64 kB / 1.114 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.4814, allocations: 0.9811 MB / 1.115 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.4818, allocations: 138.2 kB / 1.115 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/0.4835, allocations: 0.5675 MB / 1.116 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4836, allocations: 301.1 kB / 1.116 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/0.487, allocations: 1.916 MB / 1.118 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/0.4903, allocations: 2.453 MB / 1.12 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/0.4961, allocations: 4.029 MB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.4961, allocations: 8 kB / 1.124 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007893/0.504, allocations: 4.695 MB / 1.129 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/0.5041, allocations: 8 kB / 1.129 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/0.5042, allocations: 12 kB / 1.129 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-05/0.5042, allocations: 23.94 kB / 1.129 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.506, allocations: 419.5 kB / 1.129 GB, free: 9.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.746e-05/0.506, allocations: 31.86 kB / 1.129 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/0.5091, allocations: 269.5 kB / 1.129 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/0.5095, allocations: 112 kB / 1.129 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004114/0.5136, allocations: 2.265 MB / 1.132 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003138/0.5168, allocations: 2.161 MB / 1.134 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005269/0.522, allocations: 3.451 MB / 1.137 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.537e-05/0.5221, allocations: 3.938 kB / 1.137 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.007615/0.5297, allocations: 4.109 MB / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5298, allocations: 11.94 kB / 1.141 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.5298, allocations: 12 kB / 1.141 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.5298, allocations: 20 kB / 1.141 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/0.5315, allocations: 411.5 kB / 1.142 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.591e-05/0.5315, allocations: 27.92 kB / 1.142 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.5343, allocations: 214.6 kB / 1.142 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.5345, allocations: 108 kB / 1.142 GB, free: 12 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (213): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * 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.0005159/0.535, allocations: 255.8 kB / 1.142 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008706/0.5359, allocations: 260.4 kB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.5394, allocations: 1.244 MB / 1.144 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5394, allocations: 4 kB / 1.144 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.5394, allocations: 0 / 1.144 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5394, allocations: 0 / 1.144 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.5438, allocations: 1.517 MB / 1.145 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.5439, allocations: 7.922 kB / 1.145 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009122/0.5448, allocations: 127.8 kB / 1.145 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.5448, allocations: 0 / 1.145 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.5449, allocations: 19.92 kB / 1.145 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5449, allocations: 0 / 1.145 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5449, allocations: 0 / 1.145 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003528/0.5484, allocations: 1.297 MB / 1.147 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/0.55, allocations: 497.1 kB / 1.147 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/0.551, allocations: 7.938 kB / 1.147 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.5527, allocations: 71.92 kB / 1.147 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5528, allocations: 27.97 kB / 1.147 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.5529, allocations: 23.98 kB / 1.147 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00548/0.5584, allocations: 2.493 MB / 1.15 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5584, allocations: 4 kB / 1.15 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005276/0.5637, allocations: 1.062 MB / 1.151 GB, free: 3.004 MB / 0.9044 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 (36): * Single equations (assignments): 36 * 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.005008/0.5687, allocations: 2.212 MB / 1.153 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008732/0.5775, allocations: 4.87 MB / 1.158 GB, free: 11.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.5776, allocations: 0 / 1.158 GB, free: 11.9 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.5788, allocations: 476.3 kB / 1.158 GB, free: 11.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007717/0.5865, allocations: 1.261 MB / 1.159 GB, free: 10.19 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06075/0.6473, allocations: 30.79 MB / 1.189 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/0.6496, allocations: 1.777 MB / 1.191 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003876/0.6535, allocations: 0.7778 MB / 1.192 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/0.6555, allocations: 1.03 MB / 1.193 GB, free: 6 MB / 0.9512 GB Notification: Performance of SimCode: time 1.052e-06/0.6555, allocations: 0 / 1.193 GB, free: 6 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7562/1.412, allocations: 81.48 MB / 1.272 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/12.03, allocations: 11.44 kB / 1.272 GB, free: 161.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)