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.001071/0.001071, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001398/0.001398, allocations: 168.7 kB / 15.95 MB, free: 204 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.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.426 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.65/2.65, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6874, allocations: 142.3 MB / 0.9538 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1163/0.8038, allocations: 96.73 MB / 1.048 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.05804/0.8619, allocations: 30.94 MB / 1.079 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00765/0.8696, allocations: 139.1 kB / 1.079 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00591/0.8755, allocations: 1.343 MB / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.8893, allocations: 4.01 MB / 1.084 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009399/0.8987, allocations: 2.929 MB / 1.087 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01545/0.9142, allocations: 10.81 MB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00549/0.9197, allocations: 2.66 MB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007175/0.9269, allocations: 3.236 MB / 1.103 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005389/0.9324, allocations: 2.808 MB / 1.106 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.9337, allocations: 172 kB / 1.106 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006299/0.94, allocations: 1.825 MB / 1.108 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.9424, allocations: 1.043 MB / 1.109 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002786/0.9452, allocations: 0.8549 MB / 1.11 GB, free: 228 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009174/0.9544, allocations: 5.607 MB / 1.115 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.9545, allocations: 0 / 1.115 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.266e-06/0.9545, allocations: 0 / 1.115 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002556/0.9547, allocations: 0 / 1.115 GB, free: 10.6 MB / 0.8731 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.009135/0.9639, allocations: 4.399 MB / 1.119 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.9639, allocations: 12.03 kB / 1.119 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006638/0.9646, allocations: 287.4 kB / 1.12 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007689/0.9723, allocations: 1.633 MB / 1.121 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.9828, allocations: 4.273 MB / 1.125 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.9831, allocations: 185.2 kB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007069/0.9838, allocations: 232 kB / 1.126 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005568/0.9894, allocations: 2.834 MB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.9895, allocations: 3.938 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.9897, allocations: 88 kB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.116e-05/0.9897, allocations: 55.98 kB / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004873/0.9946, allocations: 2.166 MB / 1.131 GB, free: 10.15 MB / 0.8887 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.01786/1.012, allocations: 12.62 MB / 1.143 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/1.017, allocations: 1.779 MB / 1.145 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/1.02, allocations: 0.8402 MB / 1.146 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/1.032, allocations: 4.143 MB / 1.15 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.644e-05/1.032, allocations: 47.56 kB / 1.15 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002216/1.034, allocations: 202.3 kB / 1.15 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=111): time 8.916e-06/1.034, allocations: 0 / 1.15 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111): time 0.01792/1.052, allocations: 3.388 MB / 1.153 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.052, allocations: 72.36 kB / 1.153 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009876/1.062, allocations: 3.389 MB / 1.157 GB, free: 14.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006728/1.063, allocations: 61.7 kB / 1.157 GB, free: 14.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002868/1.066, allocations: 1.777 MB / 1.159 GB, free: 12.48 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009836/1.067, allocations: 382.5 kB / 1.159 GB, free: 12.1 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004017/1.067, allocations: 36 kB / 1.159 GB, free: 12.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002852/1.067, allocations: 381.9 kB / 1.159 GB, free: 11.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004722/1.072, allocations: 0.9447 MB / 1.16 GB, free: 10.74 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005614/1.078, allocations: 1.652 MB / 1.162 GB, free: 8.781 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005049/1.083, allocations: 1.095 MB / 1.163 GB, free: 7.684 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-05/1.083, allocations: 4 kB / 1.163 GB, free: 7.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01336/1.096, allocations: 3.101 MB / 1.166 GB, free: 4.555 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007993/1.097, allocations: 0.6254 MB / 1.167 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-05/1.097, allocations: 20 kB / 1.167 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002562/1.1, allocations: 415.1 kB / 1.167 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/1.103, allocations: 463.3 kB / 1.167 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/1.106, allocations: 2.748 MB / 1.17 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.109, allocations: 251.8 kB / 1.17 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004027/1.109, allocations: 155.9 kB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.109, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007185/1.116, allocations: 3.318 MB / 1.174 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/1.116, allocations: 16 kB / 1.174 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/1.119, allocations: 0.8545 MB / 1.175 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.121, allocations: 451.3 kB / 1.175 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/1.137, allocations: 12.38 MB / 1.187 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/1.14, allocations: 231.7 kB / 1.187 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005603/1.141, allocations: 139.9 kB / 1.187 GB, free: 13.46 MB / 0.9512 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.002422/1.143, allocations: 0.8674 MB / 1.188 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.144, allocations: 359.3 kB / 1.189 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007443/1.152, allocations: 2.89 MB / 1.191 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/1.152, allocations: 15.95 kB / 1.191 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.152, allocations: 0 / 1.191 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/1.152, allocations: 7.969 kB / 1.191 GB, free: 9.297 MB / 0.9512 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.01307/1.165, allocations: 5.149 MB / 1.196 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.165, allocations: 0 / 1.196 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.166, allocations: 287.6 kB / 1.197 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009931/1.167, allocations: 391 kB / 1.197 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.167, allocations: 43.95 kB / 1.197 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/1.17, allocations: 2.627 MB / 1.2 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.17, allocations: 0 / 1.2 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/1.176, allocations: 2.613 MB / 1.202 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.178, allocations: 0.6092 MB / 1.203 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.179, allocations: 35.89 kB / 1.203 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/1.182, allocations: 231.7 kB / 1.203 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.182, allocations: 93.19 kB / 1.203 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.182, allocations: 67.94 kB / 1.203 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.005193/1.187, allocations: 2.247 MB / 1.205 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.71e-07/1.187, allocations: 4 kB / 1.205 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.008694/1.196, allocations: 1.824 MB / 1.207 GB, free: 8.809 MB / 0.9669 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.008687/1.205, allocations: 3.526 MB / 1.211 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.215, allocations: 4.383 MB / 1.215 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.215, allocations: 0 / 1.215 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002632/1.218, allocations: 0.9877 MB / 1.216 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008524/1.227, allocations: 1.709 MB / 1.218 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06623/1.293, allocations: 26.53 MB / 1.244 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/1.296, allocations: 2.254 MB / 1.246 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.005078/1.301, allocations: 0.8844 MB / 1.247 GB, free: 14.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002814/1.304, allocations: 1.628 MB / 1.248 GB, free: 12.59 MB / 1.014 GB Notification: Performance of SimCode: time 2.696e-06/1.304, allocations: 4 kB / 1.248 GB, free: 12.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7199/2.023, allocations: 111.3 MB / 1.357 GB, free: 210.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/2.024, allocations: 273.8 kB / 1.357 GB, free: 209.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.245/7.269, allocations: 4 kB / 1.357 GB, free: 209.8 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