Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",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.001393/0.001393, allocations: 99.62 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.002096/0.002096, allocations: 177.3 kB / 15.95 MB, free: 216 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.469 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.38/2.38, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.000331, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7461/0.7464, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm): time 0.2954/1.042, allocations: 262.1 MB / 1.21 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02742/1.069, allocations: 18.47 MB / 1.228 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00311/1.072, allocations: 71.5 kB / 1.228 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00389/1.076, allocations: 1.19 MB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/1.089, allocations: 3.84 MB / 1.233 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006388/1.095, allocations: 2.019 MB / 1.235 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007151/1.102, allocations: 3.406 MB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/1.105, allocations: 1.646 MB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005451/1.11, allocations: 2.29 MB / 1.242 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/1.112, allocations: 1.179 MB / 1.243 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/1.113, allocations: 100 kB / 1.243 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/1.118, allocations: 1.919 MB / 1.245 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008931/1.118, allocations: 0.7127 MB / 1.246 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008505/1.119, allocations: 0.5238 MB / 1.246 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00468/1.124, allocations: 3.359 MB / 1.249 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/1.124, allocations: 4 kB / 1.249 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.124, allocations: 0 / 1.249 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.513e-05/1.124, allocations: 4 kB / 1.249 GB, free: 0.6445 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.5865/1.711, allocations: 2.616 MB / 1.252 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.711, allocations: 9.844 kB / 1.252 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009887/1.712, allocations: 203.4 kB / 1.252 GB, free: 287.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007938/1.72, allocations: 1.069 MB / 1.253 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006722/1.726, allocations: 2.166 MB / 1.255 GB, free: 286.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/1.727, allocations: 119.9 kB / 1.255 GB, free: 286.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/1.727, allocations: 150.6 kB / 1.256 GB, free: 286.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/1.731, allocations: 1.73 MB / 1.257 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/1.731, allocations: 1.094 kB / 1.257 GB, free: 285.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.731, allocations: 56.69 kB / 1.257 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/1.731, allocations: 52.72 kB / 1.257 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/1.735, allocations: 1.418 MB / 1.259 GB, free: 284.8 MB / 0.9981 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.01271/1.748, allocations: 7.776 MB / 1.266 GB, free: 278.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/1.751, allocations: 1.047 MB / 1.267 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.721e-05/1.751, allocations: 26.75 kB / 1.267 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.751, allocations: 46.31 kB / 1.267 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001281/1.752, allocations: 140.5 kB / 1.268 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=81): time 3.105e-06/1.752, allocations: 0 / 1.268 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.005555/1.758, allocations: 1.922 MB / 1.269 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/1.758, allocations: 64.11 kB / 1.269 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/1.761, allocations: 1.809 MB / 1.271 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002029/1.761, allocations: 52.83 kB / 1.271 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/1.762, allocations: 1.005 MB / 1.272 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/1.762, allocations: 284.7 kB / 1.273 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/1.762, allocations: 19.84 kB / 1.273 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/1.762, allocations: 348.7 kB / 1.273 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/1.763, allocations: 478 kB / 1.273 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.765, allocations: 0.8544 MB / 1.274 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/1.766, allocations: 0.5692 MB / 1.275 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.766, allocations: 3 kB / 1.275 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003875/1.77, allocations: 1.58 MB / 1.276 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007072/1.77, allocations: 3.976 MB / 1.28 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.771, allocations: 13.66 kB / 1.28 GB, free: 267.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/1.771, allocations: 194.7 kB / 1.28 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.773, allocations: 281.4 kB / 1.281 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/1.774, allocations: 1.866 MB / 1.282 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.776, allocations: 159.6 kB / 1.283 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.776, allocations: 70.78 kB / 1.283 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/1.776, allocations: 4.969 kB / 1.283 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003412/1.78, allocations: 1.507 MB / 1.284 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/1.78, allocations: 13.91 kB / 1.284 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/1.781, allocations: 309.2 kB / 1.284 GB, free: 264.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.782, allocations: 249.1 kB / 1.285 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/1.786, allocations: 3.582 MB / 1.288 GB, free: 261.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/1.789, allocations: 153.2 kB / 1.288 GB, free: 261.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/1.789, allocations: 60.48 kB / 1.288 GB, free: 261.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (120): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001217/1.79, allocations: 0.6061 MB / 1.289 GB, free: 261 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/1.79, allocations: 203.3 kB / 1.289 GB, free: 260.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/1.794, allocations: 1.406 MB / 1.291 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.794, allocations: 7.906 kB / 1.291 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.794, allocations: 3.969 kB / 1.291 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/1.796, allocations: 1.197 MB / 1.292 GB, free: 259.5 MB / 0.9981 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.005816/1.802, allocations: 3.22 MB / 1.295 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.802, allocations: 0 / 1.295 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/1.803, allocations: 205.6 kB / 1.295 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004989/1.804, allocations: 184.5 kB / 1.295 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/1.804, allocations: 23.61 kB / 1.295 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007777/1.804, allocations: 1.829 MB / 1.297 GB, free: 255.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.804, allocations: 3.906 kB / 1.297 GB, free: 255.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.808, allocations: 2.083 MB / 1.299 GB, free: 254.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/1.81, allocations: 362.4 kB / 1.299 GB, free: 253.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/1.81, allocations: 20 kB / 1.299 GB, free: 253.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.811, allocations: 137.4 kB / 1.3 GB, free: 253.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.811, allocations: 60.47 kB / 1.3 GB, free: 253.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/1.811, allocations: 39.97 kB / 1.3 GB, free: 253.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00157/1.813, allocations: 1.226 MB / 1.301 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.813, allocations: 0 / 1.301 GB, free: 252.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003317/1.816, allocations: 1.107 MB / 1.302 GB, free: 251.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004916/1.821, allocations: 3.308 MB / 1.305 GB, free: 247.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004585/1.826, allocations: 2.038 MB / 1.307 GB, free: 245.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.826, allocations: 0 / 1.307 GB, free: 245.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/1.827, allocations: 0.559 MB / 1.308 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/1.832, allocations: 1.043 MB / 1.309 GB, free: 244.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.844, allocations: 12.02 MB / 1.32 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009956/1.845, allocations: 1.656 MB / 1.322 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00256/1.847, allocations: 0.5287 MB / 1.323 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.848, allocations: 0.8741 MB / 1.323 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.233e-06/1.848, allocations: 4 kB / 1.323 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08855/1.937, allocations: 60.8 MB / 1.383 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/1.937, allocations: 257.8 kB / 1.383 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.309/5.246, allocations: 0 / 1.383 GB, free: 168.4 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm_res.mat does not exist to compare? outputFormat=mat