Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y",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.001309/0.001309, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001692/0.001692, allocations: 172.7 kB / 15.95 MB, free: 208 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.428/1.428, allocations: 223.2 MB / 240 MB, free: 5.324 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.481/2.481, allocations: 390.4 MB / 0.6655 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005774/0.0005778, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8199, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y): time 0.3106/1.131, allocations: 295.7 MB / 1.243 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6963/1.827, allocations: 18.86 MB / 1.261 GB, free: 75.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/1.831, allocations: 72.5 kB / 1.261 GB, free: 75.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003516/1.834, allocations: 0.9446 MB / 1.262 GB, free: 75.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/1.845, allocations: 3.106 MB / 1.265 GB, free: 75.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005438/1.85, allocations: 1.685 MB / 1.267 GB, free: 75.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01054/1.861, allocations: 6.655 MB / 1.273 GB, free: 75.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004119/1.865, allocations: 1.617 MB / 1.275 GB, free: 75.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009371/1.874, allocations: 2.481 MB / 1.277 GB, free: 75.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004396/1.879, allocations: 1.724 MB / 1.279 GB, free: 75.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008449/1.88, allocations: 95.5 kB / 1.279 GB, free: 75.06 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/1.886, allocations: 2.269 MB / 1.281 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001814/1.888, allocations: 0.786 MB / 1.282 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/1.89, allocations: 0.5278 MB / 1.282 GB, free: 74.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005491/1.896, allocations: 3.575 MB / 1.286 GB, free: 74.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.896, allocations: 3.875 kB / 1.286 GB, free: 74.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.896, allocations: 0 / 1.286 GB, free: 74.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001306/1.896, allocations: 3.156 kB / 1.286 GB, free: 74.71 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.005514/1.901, allocations: 2.681 MB / 1.289 GB, free: 73.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.901, allocations: 7.875 kB / 1.289 GB, free: 73.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005919/1.902, allocations: 207.6 kB / 1.289 GB, free: 73.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006596/1.909, allocations: 1.064 MB / 1.29 GB, free: 73.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/1.914, allocations: 2.1 MB / 1.292 GB, free: 72.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/1.914, allocations: 123.8 kB / 1.292 GB, free: 72.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/1.914, allocations: 156.4 kB / 1.292 GB, free: 72.57 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/1.919, allocations: 1.758 MB / 1.294 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.371e-05/1.919, allocations: 2.625 kB / 1.294 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/1.92, allocations: 61.75 kB / 1.294 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.777e-05/1.92, allocations: 46.39 kB / 1.294 GB, free: 72.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/1.923, allocations: 1.445 MB / 1.295 GB, free: 72.36 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.01216/1.935, allocations: 7.815 MB / 1.303 GB, free: 68.46 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/1.938, allocations: 1.075 MB / 1.304 GB, free: 68.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/1.939, allocations: 0.5926 MB / 1.305 GB, free: 68.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/1.939, allocations: 120.6 kB / 1.305 GB, free: 68.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/1.939, allocations: 44.64 kB / 1.305 GB, free: 68.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001029/1.94, allocations: 132 kB / 1.305 GB, free: 68.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=81): time 5.851e-06/1.94, allocations: 0 / 1.305 GB, free: 68.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.004945/1.945, allocations: 1.975 MB / 1.307 GB, free: 67.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/1.945, allocations: 58.5 kB / 1.307 GB, free: 67.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/1.948, allocations: 1.842 MB / 1.309 GB, free: 67.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/1.949, allocations: 47.67 kB / 1.309 GB, free: 67.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007602/1.949, allocations: 1.014 MB / 1.31 GB, free: 67.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/1.95, allocations: 279.3 kB / 1.31 GB, free: 67.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/1.95, allocations: 24.33 kB / 1.31 GB, free: 67.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/1.95, allocations: 359.2 kB / 1.31 GB, free: 66.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/1.951, allocations: 488.1 kB / 1.311 GB, free: 66.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/1.952, allocations: 0.8788 MB / 1.312 GB, free: 66.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/1.953, allocations: 0.5862 MB / 1.312 GB, free: 66.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/1.953, allocations: 2.5 kB / 1.312 GB, free: 66.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00327/1.957, allocations: 1.617 MB / 1.314 GB, free: 66.03 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/1.957, allocations: 379.5 kB / 1.314 GB, free: 65.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.957, allocations: 8.625 kB / 1.314 GB, free: 65.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007847/1.958, allocations: 193.9 kB / 1.314 GB, free: 65.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.959, allocations: 281.6 kB / 1.315 GB, free: 65.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009735/1.96, allocations: 1.864 MB / 1.317 GB, free: 63.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/1.962, allocations: 153.1 kB / 1.317 GB, free: 63.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.962, allocations: 70 kB / 1.317 GB, free: 63.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.962, allocations: 2.25 kB / 1.317 GB, free: 63.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003198/1.965, allocations: 1.54 MB / 1.318 GB, free: 63.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.965, allocations: 9.188 kB / 1.318 GB, free: 63.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.966, allocations: 318 kB / 1.319 GB, free: 63.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.967, allocations: 244.4 kB / 1.319 GB, free: 63.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/1.971, allocations: 3.476 MB / 1.322 GB, free: 61.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.973, allocations: 146.5 kB / 1.322 GB, free: 61.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/1.974, allocations: 59.39 kB / 1.322 GB, free: 61.26 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.00129/1.975, allocations: 0.6251 MB / 1.323 GB, free: 61.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/1.975, allocations: 203.6 kB / 1.323 GB, free: 60.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/1.979, allocations: 1.418 MB / 1.325 GB, free: 60.54 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/1.979, allocations: 9.281 kB / 1.325 GB, free: 60.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.979, allocations: 0 / 1.325 GB, free: 60.54 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002315/1.981, allocations: 1.214 MB / 1.326 GB, free: 60.18 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.006548/1.988, allocations: 3.241 MB / 1.329 GB, free: 58.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.988, allocations: 0 / 1.329 GB, free: 58.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009969/1.989, allocations: 206.8 kB / 1.329 GB, free: 58.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/1.989, allocations: 180.8 kB / 1.329 GB, free: 58.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/1.989, allocations: 28.98 kB / 1.329 GB, free: 58.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007895/1.99, allocations: 1.823 MB / 1.331 GB, free: 57.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.99, allocations: 7.328 kB / 1.331 GB, free: 57.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004008/1.994, allocations: 2.018 MB / 1.333 GB, free: 56.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009803/1.995, allocations: 374.8 kB / 1.333 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/1.996, allocations: 18.22 kB / 1.333 GB, free: 56.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/1.997, allocations: 141.3 kB / 1.334 GB, free: 56.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.997, allocations: 55.02 kB / 1.334 GB, free: 56.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/1.997, allocations: 46.2 kB / 1.334 GB, free: 56.29 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002063/2, allocations: 1.242 MB / 1.335 GB, free: 55.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/2, allocations: 3.312 kB / 1.335 GB, free: 55.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003739/2.003, allocations: 1.11 MB / 1.336 GB, free: 55.76 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.005189/2.008, allocations: 2.876 MB / 1.339 GB, free: 54.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004675/2.013, allocations: 2.081 MB / 1.341 GB, free: 54.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/2.013, allocations: 4.312 kB / 1.341 GB, free: 54.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/2.015, allocations: 0.5704 MB / 1.341 GB, free: 54.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/2.02, allocations: 1.06 MB / 1.342 GB, free: 53.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/2.051, allocations: 13.6 MB / 1.356 GB, free: 45.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/2.053, allocations: 1.602 MB / 1.357 GB, free: 43.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002582/2.055, allocations: 0.5132 MB / 1.358 GB, free: 43.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/2.057, allocations: 0.8721 MB / 1.359 GB, free: 43.17 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/2.057, allocations: 0 / 1.359 GB, free: 43.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0937/2.15, allocations: 62.55 MB / 1.42 GB, free: 13.66 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003613/2.151, allocations: 255.5 kB / 1.42 GB, free: 13.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/5.605, allocations: 0 / 1.42 GB, free: 13.32 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_res.mat does not exist to compare? outputFormat=mat