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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.148/2.148, allocations: 387.1 MB / 399.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 180 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 94.52 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.82e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.25, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.454, allocations: 441.3 MB / 1.643 GB, free: 5.254 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.454, allocations: 91.83 kB / 1.644 GB, free: 5.211 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.49/7.944, allocations: 1.462 GB / 3.106 GB, free: 152.2 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.653e-06/7.944, allocations: 0 / 3.106 GB, free: 152.2 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0006325/7.944, allocations: 105 kB / 3.106 GB, free: 152.2 MB / 1.198 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.01403/7.958, allocations: 3.709 MB / 3.11 GB, free: 150.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/7.958, allocations: 10.25 kB / 3.11 GB, free: 150.9 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001087/7.96, allocations: 292.1 kB / 3.11 GB, free: 150.8 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009849/7.969, allocations: 1.482 MB / 3.111 GB, free: 150.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06866/8.038, allocations: 29.01 MB / 3.14 GB, free: 149.1 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/8.038, allocations: 184.1 kB / 3.14 GB, free: 149.1 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/8.04, allocations: 243.5 kB / 3.14 GB, free: 149.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007951/8.048, allocations: 2.602 MB / 3.143 GB, free: 148.7 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.157e-05/8.048, allocations: 4.812 kB / 3.143 GB, free: 148.7 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004605/8.048, allocations: 88.12 kB / 3.143 GB, free: 148.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/8.048, allocations: 51.03 kB / 3.143 GB, free: 148.7 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/8.052, allocations: 1.812 MB / 3.145 GB, free: 148.7 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.02033/8.073, allocations: 12.5 MB / 3.157 GB, free: 142.8 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/8.075, allocations: 1.475 MB / 3.158 GB, free: 142.7 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000887/8.076, allocations: 0.6606 MB / 3.159 GB, free: 142.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007882/8.084, allocations: 4.261 MB / 3.163 GB, free: 140.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/8.084, allocations: 45.09 kB / 3.163 GB, free: 140.8 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001855/8.086, allocations: 233.1 kB / 3.163 GB, free: 140.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=119): time 4.819e-06/8.086, allocations: 0 / 3.163 GB, free: 140.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=119): time 0.004305/8.09, allocations: 2.009 MB / 3.165 GB, free: 140.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/8.09, allocations: 64.03 kB / 3.165 GB, free: 140.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/8.094, allocations: 2.953 MB / 3.168 GB, free: 140 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/8.095, allocations: 63.7 kB / 3.168 GB, free: 140 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/8.096, allocations: 1.786 MB / 3.17 GB, free: 139.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/8.096, allocations: 416.4 kB / 3.17 GB, free: 139.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/8.096, allocations: 35.66 kB / 3.17 GB, free: 139.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/8.096, allocations: 381.7 kB / 3.171 GB, free: 138.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/8.098, allocations: 0.6745 MB / 3.172 GB, free: 138.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/8.099, allocations: 1.485 MB / 3.173 GB, free: 138 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/8.1, allocations: 0.8527 MB / 3.174 GB, free: 137.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/8.1, allocations: 7.688 kB / 3.174 GB, free: 137.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.004691/8.105, allocations: 2.718 MB / 3.176 GB, free: 137.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001882/8.107, allocations: 8.161 MB / 3.184 GB, free: 129.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/8.107, allocations: 23.19 kB / 3.184 GB, free: 129.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/8.108, allocations: 0.642 MB / 3.185 GB, free: 129.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/8.11, allocations: 425.7 kB / 3.185 GB, free: 129.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/8.114, allocations: 5.115 MB / 3.19 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/8.118, allocations: 259.5 kB / 3.191 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/8.118, allocations: 179.8 kB / 3.191 GB, free: 125 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/8.118, allocations: 6 kB / 3.191 GB, free: 125 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005199/8.123, allocations: 2.784 MB / 3.194 GB, free: 124.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/8.123, allocations: 18.59 kB / 3.194 GB, free: 124.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002656/8.126, allocations: 1.05 MB / 3.195 GB, free: 124.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/8.128, allocations: 401.4 kB / 3.195 GB, free: 124.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/8.143, allocations: 14.02 MB / 3.209 GB, free: 116.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/8.147, allocations: 247.4 kB / 3.209 GB, free: 116.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/8.147, allocations: 154.4 kB / 3.209 GB, free: 116.7 MB / 1.198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006722/8.148, allocations: 226.2 kB / 3.209 GB, free: 116.6 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008976/8.149, allocations: 369.7 kB / 3.21 GB, free: 116.4 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/8.156, allocations: 2.901 MB / 3.213 GB, free: 116.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/8.156, allocations: 17.33 kB / 3.213 GB, free: 116.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/8.156, allocations: 0 / 3.213 GB, free: 116.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/8.156, allocations: 7.219 kB / 3.213 GB, free: 116.1 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.01145/8.168, allocations: 5.066 MB / 3.218 GB, free: 115.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/8.168, allocations: 3.969 kB / 3.218 GB, free: 115.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/8.169, allocations: 244.7 kB / 3.218 GB, free: 115.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001553/8.171, allocations: 0.6275 MB / 3.218 GB, free: 115.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/8.171, allocations: 49.58 kB / 3.218 GB, free: 115.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/8.174, allocations: 4.987 MB / 3.223 GB, free: 111.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/8.174, allocations: 0 / 3.223 GB, free: 111.3 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/8.179, allocations: 2.609 MB / 3.226 GB, free: 110.7 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002209/8.181, allocations: 0.6253 MB / 3.226 GB, free: 110.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007662/8.182, allocations: 29.89 kB / 3.226 GB, free: 110.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/8.184, allocations: 244.8 kB / 3.227 GB, free: 110.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/8.185, allocations: 95.34 kB / 3.227 GB, free: 110.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/8.185, allocations: 79.81 kB / 3.227 GB, free: 110.4 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.004074/8.189, allocations: 2.255 MB / 3.229 GB, free: 110.1 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.31e-07/8.189, allocations: 0 / 3.229 GB, free: 110.1 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00949/8.198, allocations: 2.029 MB / 3.231 GB, free: 109.9 MB / 1.198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00981/8.208, allocations: 5.411 MB / 3.236 GB, free: 108 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.007928/8.216, allocations: 3.861 MB / 3.24 GB, free: 107.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/8.216, allocations: 5.562 kB / 3.24 GB, free: 107.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/8.218, allocations: 0.8804 MB / 3.241 GB, free: 107.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009112/8.227, allocations: 1.695 MB / 3.243 GB, free: 107.4 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/8.241, allocations: 5.5 MB / 3.248 GB, free: 106 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/8.243, allocations: 2.346 MB / 3.25 GB, free: 105.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.006094/8.249, allocations: 1.305 MB / 3.252 GB, free: 105.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002219/8.251, allocations: 1.58 MB / 3.253 GB, free: 105.2 MB / 1.198 GB Notification: Performance of SimCode: time 2.716e-06/8.251, allocations: 3.906 kB / 3.253 GB, free: 105.2 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/8.47, allocations: 140.3 MB / 3.39 GB, free: 97.84 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/8.47, allocations: 236.2 kB / 3.39 GB, free: 97.53 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.214/15.68, allocations: 6.609 kB / 3.39 GB, free: 97.52 MB / 1.198 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