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.001806/0.001806, allocations: 108 kB / 15.61 MB, free: 148 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.002178/0.002178, allocations: 195.7 kB / 16.53 MB, free: 6.656 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.696/2.696, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 63.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6323/0.6339, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006039/0.64, allocations: 4.914 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009675/0.6497, allocations: 5.563 MB / 1.028 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.6511, allocations: 27.88 kB / 1.028 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01306/0.6642, allocations: 7.876 MB / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.6675, allocations: 1.113 MB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.6706, allocations: 1.174 MB / 1.038 GB, free: 13.76 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01808/0.6887, allocations: 11.84 MB / 1.049 GB, free: 1.941 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.689, allocations: 147 kB / 1.049 GB, free: 1.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.6904, allocations: 0.8371 MB / 1.05 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.6917, allocations: 0.856 MB / 1.051 GB, free: 84 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.692, allocations: 92.05 kB / 1.051 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.6942, allocations: 1.369 MB / 1.052 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/0.6952, allocations: 1.142 MB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.6965, allocations: 1.247 MB / 1.055 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.7004, allocations: 3.956 MB / 1.059 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7004, allocations: 0 / 1.059 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7004, allocations: 0 / 1.059 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.298e-05/0.7004, allocations: 3.938 kB / 1.059 GB, free: 8.25 MB / 0.8106 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.004454/0.7049, allocations: 3.056 MB / 1.062 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.7049, allocations: 12.03 kB / 1.062 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.019e-05/0.705, allocations: 62.48 kB / 1.062 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.7088, allocations: 0.7146 MB / 1.062 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005849/0.7146, allocations: 4.175 MB / 1.066 GB, free: 100 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.7147, allocations: 33.12 kB / 1.066 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.7148, allocations: 51.94 kB / 1.066 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.7165, allocations: 0.9961 MB / 1.067 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.7165, allocations: 0 / 1.067 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.7166, allocations: 15.98 kB / 1.067 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.7166, allocations: 4 kB / 1.067 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.7186, allocations: 0.8454 MB / 1.068 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005172/0.7238, allocations: 3.261 MB / 1.071 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/0.7259, allocations: 1.142 MB / 1.073 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009862/0.7269, allocations: 449.1 kB / 1.073 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.329e-05/0.727, allocations: 24.19 kB / 1.073 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.7271, allocations: 38.84 kB / 1.073 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/0.7271, allocations: 3.938 kB / 1.073 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.003838/0.7309, allocations: 1.623 MB / 1.075 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.731, allocations: 59.34 kB / 1.075 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005813/0.7368, allocations: 3.747 MB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002849/0.7371, allocations: 41.7 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.7383, allocations: 0.9772 MB / 1.079 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.7387, allocations: 142.2 kB / 1.08 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.7398, allocations: 0.5714 MB / 1.08 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/0.7399, allocations: 301.1 kB / 1.08 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/0.7428, allocations: 1.916 MB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/0.7459, allocations: 2.453 MB / 1.085 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/0.7512, allocations: 4.025 MB / 1.089 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.7512, allocations: 0 / 1.089 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007/0.7582, allocations: 4.702 MB / 1.093 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.7583, allocations: 8 kB / 1.093 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.7583, allocations: 12 kB / 1.093 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/0.7584, allocations: 20.06 kB / 1.093 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.76, allocations: 423.5 kB / 1.094 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/0.76, allocations: 27.92 kB / 1.094 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.7623, allocations: 261.5 kB / 1.094 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.7626, allocations: 116 kB / 1.094 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003558/0.7661, allocations: 2.265 MB / 1.096 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002701/0.7688, allocations: 2.164 MB / 1.098 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004648/0.7735, allocations: 3.451 MB / 1.102 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.07e-05/0.7735, allocations: 4 kB / 1.102 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.006592/0.7801, allocations: 4.113 MB / 1.106 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.7802, allocations: 13.5 kB / 1.106 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.7802, allocations: 15.98 kB / 1.106 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.7802, allocations: 16 kB / 1.106 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.7818, allocations: 407.5 kB / 1.106 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.732e-05/0.7818, allocations: 27.92 kB / 1.106 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.7842, allocations: 215.8 kB / 1.106 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.7844, allocations: 104 kB / 1.106 GB, free: 6.164 MB / 0.8575 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.0004246/0.7849, allocations: 263.8 kB / 1.107 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007996/0.7857, allocations: 260.4 kB / 1.107 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.7888, allocations: 1.237 MB / 1.108 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7888, allocations: 4 kB / 1.108 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.7888, allocations: 0 / 1.108 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7888, allocations: 0 / 1.108 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.7914, allocations: 1.521 MB / 1.11 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7914, allocations: 7.938 kB / 1.11 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.7921, allocations: 123.8 kB / 1.11 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.7922, allocations: 0 / 1.11 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.7922, allocations: 27.92 kB / 1.11 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7922, allocations: 0 / 1.11 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7922, allocations: 0 / 1.11 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.795, allocations: 1.293 MB / 1.111 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.7962, allocations: 0.4933 MB / 1.112 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007543/0.797, allocations: 4 kB / 1.112 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.7984, allocations: 67.92 kB / 1.112 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.7985, allocations: 31.95 kB / 1.112 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.7986, allocations: 16 kB / 1.112 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004352/0.8029, allocations: 2.497 MB / 1.114 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.195e-06/0.8029, allocations: 0 / 1.114 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.004316/0.8073, allocations: 1.066 MB / 1.115 GB, free: 13.17 MB / 0.8731 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.004609/0.8119, allocations: 2.209 MB / 1.117 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007775/0.8197, allocations: 4.867 MB / 1.122 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.8197, allocations: 3.938 kB / 1.122 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.8208, allocations: 467.7 kB / 1.123 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005499/0.8263, allocations: 1.263 MB / 1.124 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04806/0.8744, allocations: 30.78 MB / 1.154 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/0.8763, allocations: 1.788 MB / 1.156 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.00348/0.8798, allocations: 0.7701 MB / 1.156 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/0.8816, allocations: 1.026 MB / 1.157 GB, free: 172 kB / 0.9044 GB Notification: Performance of SimCode: time 1.694e-06/0.8816, allocations: 0 / 1.157 GB, free: 172 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.007, allocations: 81.51 MB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.98/10.99, allocations: 12 kB / 1.237 GB, free: 15.69 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)