Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.0009907/0.0009906, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009723/0.0009724, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7063, allocations: 142.3 MB / 0.9536 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1228/0.8291, allocations: 87.96 MB / 1.039 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05291/0.8821, allocations: 28.7 MB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00573/0.8878, allocations: 131.1 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0063/0.8942, allocations: 1.628 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01819/0.9124, allocations: 5.164 MB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01134/0.9237, allocations: 3.799 MB / 1.078 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.936, allocations: 5.847 MB / 1.084 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005161/0.9412, allocations: 2.68 MB / 1.086 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006705/0.9479, allocations: 2.994 MB / 1.089 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00373/0.9517, allocations: 2.019 MB / 1.091 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008148/0.9525, allocations: 164 kB / 1.091 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004966/0.9575, allocations: 1.736 MB / 1.093 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.9588, allocations: 0.9692 MB / 1.094 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.9602, allocations: 0.8549 MB / 1.095 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006725/0.967, allocations: 5.474 MB / 1.1 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.967, allocations: 4 kB / 1.1 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.967, allocations: 0 / 1.1 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001502/0.9672, allocations: 4 kB / 1.1 GB, free: 9.699 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.009251/0.9764, allocations: 4.356 MB / 1.104 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.9765, allocations: 12.03 kB / 1.104 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006861/0.9772, allocations: 291.4 kB / 1.105 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008859/0.9861, allocations: 1.629 MB / 1.106 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.9966, allocations: 4.283 MB / 1.111 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.9968, allocations: 185.1 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000605/0.9974, allocations: 236 kB / 1.111 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006005/1.003, allocations: 2.787 MB / 1.114 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/1.004, allocations: 3.938 kB / 1.114 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000271/1.004, allocations: 88 kB / 1.114 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/1.004, allocations: 52 kB / 1.114 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006164/1.01, allocations: 2.127 MB / 1.116 GB, free: 9.363 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01996/1.03, allocations: 12.54 MB / 1.128 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/1.034, allocations: 1.692 MB / 1.13 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007565/1.042, allocations: 4.159 MB / 1.134 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/1.042, allocations: 47.56 kB / 1.134 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001315/1.043, allocations: 202.3 kB / 1.134 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=111): time 3.717e-06/1.044, allocations: 0 / 1.134 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111): time 0.01041/1.054, allocations: 3.31 MB / 1.137 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/1.054, allocations: 68.41 kB / 1.137 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/1.059, allocations: 3.432 MB / 1.141 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005137/1.06, allocations: 61.69 kB / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.061, allocations: 1.781 MB / 1.142 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005765/1.062, allocations: 386.4 kB / 1.143 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/1.062, allocations: 39.98 kB / 1.143 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.062, allocations: 373.9 kB / 1.143 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.065, allocations: 0.929 MB / 1.144 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/1.068, allocations: 1.613 MB / 1.146 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.07, allocations: 1.064 MB / 1.147 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.07, allocations: 8 kB / 1.147 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009659/1.08, allocations: 3.05 MB / 1.15 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.003857/1.084, allocations: 8.145 MB / 1.158 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/1.084, allocations: 16 kB / 1.158 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/1.086, allocations: 411.1 kB / 1.158 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/1.09, allocations: 475.2 kB / 1.159 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/1.093, allocations: 2.744 MB / 1.161 GB, free: 8.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005352/1.099, allocations: 239.8 kB / 1.161 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008128/1.1, allocations: 159.9 kB / 1.162 GB, free: 8.254 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.1, allocations: 4 kB / 1.162 GB, free: 8.25 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01061/1.11, allocations: 3.27 MB / 1.165 GB, free: 4.965 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.612e-05/1.111, allocations: 23.94 kB / 1.165 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/1.114, allocations: 0.8554 MB / 1.166 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/1.118, allocations: 447.3 kB / 1.166 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02763/1.145, allocations: 12.89 MB / 1.179 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/1.15, allocations: 235.7 kB / 1.179 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008325/1.151, allocations: 140 kB / 1.179 GB, free: 5.691 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003402/1.154, allocations: 0.8674 MB / 1.18 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.156, allocations: 359.3 kB / 1.18 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/1.166, allocations: 2.867 MB / 1.183 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.09e-05/1.167, allocations: 15.98 kB / 1.183 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.167, allocations: 0 / 1.183 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/1.167, allocations: 11.92 kB / 1.183 GB, free: 1.539 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/1.185, allocations: 5.308 MB / 1.188 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.185, allocations: 0 / 1.188 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/1.187, allocations: 291.7 kB / 1.189 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/1.189, allocations: 387 kB / 1.189 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/1.189, allocations: 43.95 kB / 1.189 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/1.192, allocations: 2.631 MB / 1.192 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.192, allocations: 4.188 kB / 1.192 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009496/1.202, allocations: 2.661 MB / 1.194 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/1.204, allocations: 0.6287 MB / 1.195 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001306/1.206, allocations: 24 kB / 1.195 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/1.21, allocations: 231.6 kB / 1.195 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/1.21, allocations: 93.14 kB / 1.195 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.21, allocations: 75.92 kB / 1.195 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00507/1.215, allocations: 2.279 MB / 1.197 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6.11e-07/1.215, allocations: 3.938 kB / 1.197 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007959/1.223, allocations: 1.859 MB / 1.199 GB, free: 0.668 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008788/1.232, allocations: 3.882 MB / 1.203 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01071/1.243, allocations: 4.305 MB / 1.207 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.243, allocations: 4.062 kB / 1.207 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002912/1.246, allocations: 0.9718 MB / 1.208 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008945/1.255, allocations: 1.698 MB / 1.21 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02545/1.28, allocations: 21.13 MB / 1.23 GB, free: 72 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002212/1.283, allocations: 2.331 MB / 1.233 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004712/1.287, allocations: 0.9153 MB / 1.234 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002662/1.29, allocations: 1.643 MB / 1.235 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of SimCode: time 2.776e-06/1.29, allocations: 0 / 1.235 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6682/1.958, allocations: 110 MB / 1.343 GB, free: 226.9 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/1.958, allocations: 271 kB / 1.343 GB, free: 226.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.271/7.23, allocations: 4 kB / 1.343 GB, free: 226.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat does not exist to compare? outputFormat=mat