Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.255/2.255, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001601/0.001601, allocations: 185 kB / 498.1 MB, free: 5.742 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.463/1.463, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0008979/0.0008976, allocations: 96.27 kB / 0.9346 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 9.25 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2922, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.359, allocations: 437.5 MB / 1.65 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/1.36, allocations: 94.95 kB / 1.65 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.673/4.033, allocations: 0.7787 GB / 2.429 GB, free: 218.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.374e-06/4.033, allocations: 0 / 2.429 GB, free: 218.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002078/4.033, allocations: 54.86 kB / 2.429 GB, free: 218.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.006704/4.04, allocations: 2.589 MB / 2.431 GB, free: 217.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/4.04, allocations: 9.438 kB / 2.431 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003002/4.04, allocations: 166 kB / 2.432 GB, free: 217.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/4.044, allocations: 0.7196 MB / 2.432 GB, free: 217.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02884/4.073, allocations: 14.49 MB / 2.446 GB, free: 216.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/4.073, allocations: 85.06 kB / 2.447 GB, free: 216.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/4.073, allocations: 120.5 kB / 2.447 GB, free: 216.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/4.076, allocations: 1.33 MB / 2.448 GB, free: 216.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/4.076, allocations: 5.625 kB / 2.448 GB, free: 216.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/4.076, allocations: 49.77 kB / 2.448 GB, free: 216.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/4.076, allocations: 25.84 kB / 2.448 GB, free: 216.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002351/4.078, allocations: 1.076 MB / 2.449 GB, free: 216.3 MB / 1.167 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.007767/4.086, allocations: 5.871 MB / 2.455 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/4.088, allocations: 0.9149 MB / 2.456 GB, free: 213.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003855/4.092, allocations: 2.842 MB / 2.459 GB, free: 211.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/4.092, allocations: 45.19 kB / 2.459 GB, free: 211.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006019/4.093, allocations: 82.12 kB / 2.459 GB, free: 211.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 2.745e-06/4.093, allocations: 0 / 2.459 GB, free: 211.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.00441/4.097, allocations: 1.687 MB / 2.46 GB, free: 211.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/4.097, allocations: 59.12 kB / 2.46 GB, free: 211.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/4.099, allocations: 1.321 MB / 2.462 GB, free: 211 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.667e-05/4.099, allocations: 49.11 kB / 2.462 GB, free: 211 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/4.1, allocations: 0.8481 MB / 2.463 GB, free: 210.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/4.1, allocations: 203.5 kB / 2.463 GB, free: 210.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/4.1, allocations: 17.91 kB / 2.463 GB, free: 210.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/4.1, allocations: 346.3 kB / 2.463 GB, free: 210.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008408/4.101, allocations: 365.9 kB / 2.463 GB, free: 210.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/4.102, allocations: 0.797 MB / 2.464 GB, free: 209.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000932/4.103, allocations: 453.8 kB / 2.465 GB, free: 209.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/4.103, allocations: 8.25 kB / 2.465 GB, free: 209.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003462/4.107, allocations: 1.397 MB / 2.466 GB, free: 209.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009737/4.108, allocations: 4.352 MB / 2.47 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/4.108, allocations: 10.5 kB / 2.47 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/4.108, allocations: 208.1 kB / 2.47 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/4.109, allocations: 224.4 kB / 2.471 GB, free: 205 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/4.11, allocations: 1.815 MB / 2.472 GB, free: 203.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/4.112, allocations: 122.6 kB / 2.473 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001661/4.112, allocations: 75.45 kB / 2.473 GB, free: 203.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/4.112, allocations: 3.938 kB / 2.473 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003117/4.115, allocations: 1.246 MB / 2.474 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/4.115, allocations: 12.03 kB / 2.474 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/4.116, allocations: 233 kB / 2.474 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/4.117, allocations: 214.7 kB / 2.474 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/4.122, allocations: 3.861 MB / 2.478 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/4.123, allocations: 110.8 kB / 2.478 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/4.123, allocations: 70.59 kB / 2.478 GB, free: 200.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001187/4.125, allocations: 495 kB / 2.479 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/4.125, allocations: 172.6 kB / 2.479 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/4.128, allocations: 1.391 MB / 2.48 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/4.129, allocations: 10.69 kB / 2.48 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/4.129, allocations: 6.375 kB / 2.48 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/4.129, allocations: 2.25 kB / 2.48 GB, free: 200.2 MB / 1.167 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.006077/4.135, allocations: 2.614 MB / 2.483 GB, free: 199.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/4.135, allocations: 0 / 2.483 GB, free: 199.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/4.135, allocations: 132 kB / 2.483 GB, free: 199.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006201/4.136, allocations: 195.2 kB / 2.483 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/4.136, allocations: 20.31 kB / 2.483 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009697/4.137, allocations: 1.783 MB / 2.485 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/4.137, allocations: 3.953 kB / 2.485 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/4.14, allocations: 1.422 MB / 2.486 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000904/4.141, allocations: 333.4 kB / 2.487 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/4.141, allocations: 14.34 kB / 2.487 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/4.142, allocations: 104.9 kB / 2.487 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/4.143, allocations: 53.97 kB / 2.487 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/4.143, allocations: 34.22 kB / 2.487 GB, free: 197.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001688/4.144, allocations: 1.016 MB / 2.488 GB, free: 197.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/4.144, allocations: 0 / 2.488 GB, free: 197.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003897/4.148, allocations: 1.08 MB / 2.489 GB, free: 197.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005822/4.154, allocations: 3.59 MB / 2.492 GB, free: 195.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003914/4.158, allocations: 1.751 MB / 2.494 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/4.158, allocations: 3.188 kB / 2.494 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/4.159, allocations: 0.5026 MB / 2.495 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/4.163, allocations: 0.7019 MB / 2.495 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/4.172, allocations: 11.6 MB / 2.507 GB, free: 186.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/4.173, allocations: 1.428 MB / 2.508 GB, free: 185.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002054/4.175, allocations: 434.1 kB / 2.508 GB, free: 185.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008829/4.176, allocations: 0.6931 MB / 2.509 GB, free: 185.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.114e-06/4.176, allocations: 2.594 kB / 2.509 GB, free: 185.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09344/4.269, allocations: 59.56 MB / 2.567 GB, free: 172.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/4.269, allocations: 255.6 kB / 2.567 GB, free: 171.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.849/8.118, allocations: 0 / 2.567 GB, free: 171.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat does not exist to compare? outputFormat=mat