Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="Buildings_10_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.005726/0.005726, allocations: 98.16 kB / 15.73 MB, free: 6.012 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.001611/0.001612, allocations: 197 kB / 16.68 MB, free: 5.93 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.198/2.198, allocations: 437.1 MB / 0.7106 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 75.84 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5908, allocations: 151.6 MB / 1.166 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.005538/0.5964, allocations: 4.914 MB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007392/0.6038, allocations: 5.561 MB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.6041, allocations: 31.81 kB / 1.176 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.6068, allocations: 1.504 MB / 1.178 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.6084, allocations: 1.117 MB / 1.179 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.6102, allocations: 1.184 MB / 1.18 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01774/0.6279, allocations: 13.57 MB / 1.193 GB, free: 7.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.6282, allocations: 155 kB / 1.194 GB, free: 7.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.6292, allocations: 0.8449 MB / 1.194 GB, free: 6.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009683/0.6302, allocations: 0.8716 MB / 1.195 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001717/0.6304, allocations: 96 kB / 1.195 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.6324, allocations: 1.38 MB / 1.197 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008908/0.6333, allocations: 1.153 MB / 1.198 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.6344, allocations: 1.247 MB / 1.199 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003734/0.6381, allocations: 4.012 MB / 1.203 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6381, allocations: 4 kB / 1.203 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6381, allocations: 0 / 1.203 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.6382, allocations: 0 / 1.203 GB, free: 13.94 MB / 0.9356 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.004477/0.6426, allocations: 3.171 MB / 1.206 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6427, allocations: 12.92 kB / 1.206 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.6428, allocations: 62.53 kB / 1.206 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.6461, allocations: 0.7202 MB / 1.207 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006107/0.6522, allocations: 4.388 MB / 1.211 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.6523, allocations: 32.56 kB / 1.211 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6524, allocations: 47.94 kB / 1.211 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.6541, allocations: 0.9923 MB / 1.212 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.6541, allocations: 0 / 1.212 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.655e-05/0.6542, allocations: 8 kB / 1.212 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.6542, allocations: 8 kB / 1.212 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.6562, allocations: 0.8493 MB / 1.213 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/0.6607, allocations: 3.242 MB / 1.216 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.6629, allocations: 1.149 MB / 1.217 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009917/0.6639, allocations: 457.7 kB / 1.218 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/0.664, allocations: 16.28 kB / 1.218 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.664, allocations: 34.78 kB / 1.218 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.372e-06/0.664, allocations: 0 / 1.218 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.003564/0.6676, allocations: 1.644 MB / 1.219 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6676, allocations: 55.41 kB / 1.219 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/0.6722, allocations: 3.818 MB / 1.223 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/0.6723, allocations: 41.7 kB / 1.223 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009012/0.6732, allocations: 0.9977 MB / 1.224 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6734, allocations: 142.9 kB / 1.224 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006555/0.674, allocations: 0.5119 MB / 1.225 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6741, allocations: 301.1 kB / 1.225 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/0.6767, allocations: 1.821 MB / 1.227 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.6796, allocations: 2.351 MB / 1.229 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/0.6846, allocations: 3.868 MB / 1.233 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6846, allocations: 4 kB / 1.233 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006153/0.6907, allocations: 4.485 MB / 1.237 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.6908, allocations: 12 kB / 1.237 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.6908, allocations: 16 kB / 1.237 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.6908, allocations: 16 kB / 1.237 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.6922, allocations: 387.5 kB / 1.238 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/0.6923, allocations: 27.88 kB / 1.238 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.6939, allocations: 270.3 kB / 1.238 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.694, allocations: 108 kB / 1.238 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003013/0.6971, allocations: 2.159 MB / 1.24 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002638/0.6997, allocations: 2.053 MB / 1.242 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00445/0.7042, allocations: 3.288 MB / 1.245 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.054e-06/0.7042, allocations: 4 kB / 1.245 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.005713/0.7099, allocations: 3.903 MB / 1.249 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7099, allocations: 19.94 kB / 1.249 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.7099, allocations: 11.98 kB / 1.249 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.71, allocations: 20 kB / 1.249 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.7114, allocations: 379.5 kB / 1.25 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.7114, allocations: 23.92 kB / 1.25 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.713, allocations: 215 kB / 1.25 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.7132, allocations: 99.97 kB / 1.25 GB, free: 12.82 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (187): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 4 * 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.0002996/0.7135, allocations: 251.8 kB / 1.25 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.7138, allocations: 274 kB / 1.251 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.7165, allocations: 1.233 MB / 1.252 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.7165, allocations: 4 kB / 1.252 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.7165, allocations: 3.984 kB / 1.252 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7166, allocations: 3.938 kB / 1.252 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.7183, allocations: 1.521 MB / 1.253 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7183, allocations: 0 / 1.253 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.719, allocations: 127.8 kB / 1.253 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.719, allocations: 0 / 1.253 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.719, allocations: 19.92 kB / 1.253 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.719, allocations: 4.062 kB / 1.253 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.719, allocations: 3.984 kB / 1.253 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.7214, allocations: 1.318 MB / 1.255 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006773/0.7221, allocations: 0.4989 MB / 1.255 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/0.7224, allocations: 4 kB / 1.255 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/0.7233, allocations: 71.92 kB / 1.255 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.7234, allocations: 23.97 kB / 1.255 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.7235, allocations: 23.98 kB / 1.255 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00335/0.7268, allocations: 2.563 MB / 1.258 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7269, allocations: 0 / 1.258 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002255/0.7291, allocations: 1.042 MB / 1.259 GB, free: 3.754 MB / 0.9825 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.003624/0.7327, allocations: 2.214 MB / 1.261 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006448/0.7392, allocations: 4.553 MB / 1.265 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7392, allocations: 0 / 1.265 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7402, allocations: 481.2 kB / 1.266 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.744, allocations: 1.315 MB / 1.267 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/0.7794, allocations: 27.27 MB / 1.294 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.7809, allocations: 1.781 MB / 1.295 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002324/0.7832, allocations: 0.794 MB / 1.296 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/0.7845, allocations: 1.034 MB / 1.297 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.7845, allocations: 0 / 1.297 GB, free: 11.8 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.722/9.506, allocations: 79.63 MB / 1.375 GB, free: 13.16 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/23.32, allocations: 15.66 kB / 1.375 GB, free: 13.14 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)