Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_11_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.001248/0.001248, 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.001203/0.001203, allocations: 195.8 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.527/2.527, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 66.91 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2439, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006025/0.2499, allocations: 4.914 MB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008491/0.2584, allocations: 5.571 MB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006796/0.2591, allocations: 27.88 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01219/0.2713, allocations: 7.896 MB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.2736, allocations: 1.089 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.2759, allocations: 1.188 MB / 1.084 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01654/0.2924, allocations: 11.84 MB / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.2927, allocations: 147 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.294, allocations: 0.8371 MB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.2952, allocations: 0.8521 MB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.2954, allocations: 92 kB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.2976, allocations: 1.369 MB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009987/0.2986, allocations: 1.145 MB / 1.1 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.3, allocations: 1.251 MB / 1.101 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.3041, allocations: 3.96 MB / 1.105 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3041, allocations: 0 / 1.105 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3042, allocations: 0 / 1.105 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.334e-05/0.3042, allocations: 0 / 1.105 GB, free: 3.98 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.005075/0.3093, allocations: 3.056 MB / 1.108 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3093, allocations: 8.031 kB / 1.108 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.058e-05/0.3094, allocations: 62.53 kB / 1.108 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.313, allocations: 0.7185 MB / 1.109 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.3189, allocations: 4.179 MB / 1.113 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.3189, allocations: 41.12 kB / 1.113 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.319, allocations: 47.94 kB / 1.113 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.3208, allocations: 0.9923 MB / 1.114 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.3208, allocations: 4 kB / 1.114 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.3208, allocations: 12 kB / 1.114 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3209, allocations: 4 kB / 1.114 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.3229, allocations: 0.8454 MB / 1.115 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.3275, allocations: 3.257 MB / 1.118 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.3297, allocations: 1.141 MB / 1.119 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009961/0.3307, allocations: 457.1 kB / 1.12 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.654e-05/0.3308, allocations: 20.19 kB / 1.12 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3308, allocations: 38.84 kB / 1.12 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.362e-06/0.3308, allocations: 0 / 1.12 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003562/0.3344, allocations: 1.62 MB / 1.121 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.3344, allocations: 63.34 kB / 1.121 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/0.339, allocations: 3.751 MB / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/0.3391, allocations: 37.7 kB / 1.125 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/0.34, allocations: 0.9848 MB / 1.126 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3401, allocations: 130.4 kB / 1.126 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.3408, allocations: 0.5713 MB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3409, allocations: 301.1 kB / 1.127 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.3436, allocations: 1.912 MB / 1.129 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.3468, allocations: 2.465 MB / 1.131 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005294/0.3521, allocations: 4.021 MB / 1.135 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3521, allocations: 0 / 1.135 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006576/0.3587, allocations: 4.702 MB / 1.14 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3587, allocations: 8 kB / 1.14 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.3588, allocations: 12 kB / 1.14 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.3588, allocations: 20 kB / 1.14 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.3603, allocations: 415.5 kB / 1.14 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.279e-05/0.3603, allocations: 23.94 kB / 1.14 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.362, allocations: 270.6 kB / 1.141 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.3621, allocations: 120 kB / 1.141 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003194/0.3653, allocations: 2.257 MB / 1.143 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002802/0.3682, allocations: 2.172 MB / 1.145 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004702/0.3729, allocations: 3.447 MB / 1.148 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.3729, allocations: 0 / 1.148 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.005983/0.3789, allocations: 4.109 MB / 1.152 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3789, allocations: 17.91 kB / 1.152 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3789, allocations: 12 kB / 1.152 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3789, allocations: 16 kB / 1.152 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.3804, allocations: 415.4 kB / 1.153 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.3804, allocations: 27.88 kB / 1.153 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.382, allocations: 218.6 kB / 1.153 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.3822, allocations: 108 kB / 1.153 GB, free: 1.879 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.0003121/0.3825, allocations: 263.7 kB / 1.153 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.3828, allocations: 264.3 kB / 1.154 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.3856, allocations: 1.233 MB / 1.155 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3856, allocations: 4 kB / 1.155 GB, free: 108 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3856, allocations: 0 / 1.155 GB, free: 108 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3856, allocations: 3.984 kB / 1.155 GB, free: 104 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.3873, allocations: 1.517 MB / 1.156 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3873, allocations: 3.938 kB / 1.156 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.388, allocations: 127.8 kB / 1.156 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.388, allocations: 0 / 1.156 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.3881, allocations: 15.98 kB / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3881, allocations: 0 / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3881, allocations: 0 / 1.157 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.3905, allocations: 1.308 MB / 1.158 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007044/0.3912, allocations: 497.2 kB / 1.158 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.3915, allocations: 4 kB / 1.158 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009628/0.3925, allocations: 67.92 kB / 1.158 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.3926, allocations: 27.97 kB / 1.158 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.3926, allocations: 19.98 kB / 1.158 GB, free: 12.44 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003148/0.3958, allocations: 2.497 MB / 1.161 GB, free: 9.953 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3958, allocations: 0 / 1.161 GB, free: 9.953 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002261/0.398, allocations: 1.074 MB / 1.162 GB, free: 8.879 MB / 0.92 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.003504/0.4015, allocations: 2.204 MB / 1.164 GB, free: 6.645 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006784/0.4083, allocations: 4.863 MB / 1.169 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4084, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.4094, allocations: 479.8 kB / 1.169 GB, free: 1.316 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/0.413, allocations: 1.267 MB / 1.17 GB, free: 68 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04298/0.456, allocations: 30.8 MB / 1.201 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.4575, allocations: 1.785 MB / 1.202 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002645/0.4602, allocations: 0.7739 MB / 1.203 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.4616, allocations: 1.026 MB / 1.204 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.4616, allocations: 0 / 1.204 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.744/5.206, allocations: 81.5 MB / 1.284 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/19.47, allocations: 11.83 kB / 1.284 GB, free: 157.6 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_11_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)