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.001145/0.001145, allocations: 108 kB / 15.6 MB, free: 132 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.00123/0.00123, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.513/2.513, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 64.14 kB / 0.8693 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6104/0.6117, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006217/0.618, allocations: 4.904 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009038/0.6271, allocations: 5.57 MB / 1.028 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009099/0.628, allocations: 27.88 kB / 1.028 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.6402, allocations: 7.88 MB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.6429, allocations: 1.105 MB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.6454, allocations: 1.187 MB / 1.038 GB, free: 13.71 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01787/0.6633, allocations: 11.83 MB / 1.049 GB, free: 1.895 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.6637, allocations: 151 kB / 1.049 GB, free: 1.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.6651, allocations: 0.8332 MB / 1.05 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.6663, allocations: 0.8521 MB / 1.051 GB, free: 40 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003224/0.6667, allocations: 92.05 kB / 1.051 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.6694, allocations: 1.369 MB / 1.052 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.6706, allocations: 1.149 MB / 1.053 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.6723, allocations: 1.243 MB / 1.055 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004162/0.6765, allocations: 3.96 MB / 1.059 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6765, allocations: 0 / 1.059 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6765, allocations: 0 / 1.059 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.6765, allocations: 0 / 1.059 GB, free: 8.203 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.004652/0.6812, allocations: 3.056 MB / 1.062 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.6812, allocations: 12.03 kB / 1.062 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.61e-05/0.6813, allocations: 58.55 kB / 1.062 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003827/0.6851, allocations: 0.7146 MB / 1.062 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006063/0.6912, allocations: 4.179 MB / 1.066 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.6913, allocations: 37.12 kB / 1.066 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.6914, allocations: 47.98 kB / 1.066 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.6931, allocations: 0.9884 MB / 1.067 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6932, allocations: 0 / 1.067 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.6932, allocations: 12 kB / 1.067 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.6932, allocations: 7.984 kB / 1.067 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.6953, allocations: 0.8492 MB / 1.068 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005845/0.7012, allocations: 3.261 MB / 1.071 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.7035, allocations: 1.146 MB / 1.073 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.7045, allocations: 449.1 kB / 1.073 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-05/0.7046, allocations: 24.19 kB / 1.073 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.7046, allocations: 42.84 kB / 1.073 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.7046, allocations: 0 / 1.073 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.003916/0.7085, allocations: 1.623 MB / 1.075 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.7086, allocations: 55.41 kB / 1.075 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/0.714, allocations: 3.751 MB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.7141, allocations: 37.7 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000935/0.7151, allocations: 0.9772 MB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.7152, allocations: 134.3 kB / 1.08 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007958/0.7161, allocations: 0.5714 MB / 1.08 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.7162, allocations: 305.1 kB / 1.08 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.7189, allocations: 1.92 MB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.722, allocations: 2.461 MB / 1.085 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005371/0.7274, allocations: 4.025 MB / 1.089 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.7274, allocations: 0 / 1.089 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=333) (initialization): time 0.007195/0.7346, allocations: 4.702 MB / 1.093 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.7347, allocations: 8 kB / 1.093 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.7347, allocations: 12 kB / 1.093 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/0.7347, allocations: 20 kB / 1.093 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.7363, allocations: 415.5 kB / 1.094 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.836e-05/0.7364, allocations: 27.92 kB / 1.094 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.7395, allocations: 261.5 kB / 1.094 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/0.7399, allocations: 120 kB / 1.094 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003955/0.7438, allocations: 2.261 MB / 1.096 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003065/0.7469, allocations: 2.168 MB / 1.098 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004912/0.7519, allocations: 3.451 MB / 1.102 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.406e-05/0.7519, allocations: 4 kB / 1.102 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.006974/0.7589, allocations: 4.113 MB / 1.106 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.7589, allocations: 11.94 kB / 1.106 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.759, allocations: 15.98 kB / 1.106 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.759, allocations: 16 kB / 1.106 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.7606, allocations: 411.5 kB / 1.106 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.073e-05/0.7607, allocations: 27.92 kB / 1.106 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.7631, allocations: 211.8 kB / 1.106 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.7634, allocations: 112 kB / 1.106 GB, free: 6.098 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.000424/0.7638, allocations: 265.9 kB / 1.107 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/0.7645, allocations: 260.4 kB / 1.107 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.7676, allocations: 1.229 MB / 1.108 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.7676, allocations: 4 kB / 1.108 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.7676, allocations: 0 / 1.108 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7676, allocations: 0 / 1.108 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.77, allocations: 1.521 MB / 1.11 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.77, allocations: 3.938 kB / 1.11 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.7708, allocations: 127.8 kB / 1.11 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.7708, allocations: 0 / 1.11 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.7708, allocations: 19.98 kB / 1.11 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7709, allocations: 0 / 1.11 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7709, allocations: 0 / 1.11 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.7735, allocations: 1.301 MB / 1.111 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/0.7744, allocations: 0.4893 MB / 1.112 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/0.7749, allocations: 8 kB / 1.112 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.7761, allocations: 67.92 kB / 1.112 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.7762, allocations: 31.95 kB / 1.112 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.7763, allocations: 16 kB / 1.112 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003649/0.7799, allocations: 2.497 MB / 1.114 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7799, allocations: 0 / 1.114 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002789/0.7827, allocations: 1.066 MB / 1.115 GB, free: 13.11 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.004002/0.7867, allocations: 2.215 MB / 1.117 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007147/0.7939, allocations: 4.867 MB / 1.122 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7939, allocations: 4.188 kB / 1.122 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.795, allocations: 467.6 kB / 1.123 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004446/0.7994, allocations: 1.257 MB / 1.124 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0473/0.8467, allocations: 30.78 MB / 1.154 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.8485, allocations: 1.792 MB / 1.156 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003122/0.8516, allocations: 0.77 MB / 1.156 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/0.8532, allocations: 1.03 MB / 1.157 GB, free: 108 kB / 0.9044 GB Notification: Performance of SimCode: time 6.61e-07/0.8532, allocations: 0 / 1.157 GB, free: 108 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/0.9786, allocations: 81.5 MB / 1.237 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.99, allocations: 13.23 kB / 1.237 GB, free: 15.64 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 & /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=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)