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/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,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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.177/2.177, 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.00113/0.00113, allocations: 190 kB / 498.1 MB, free: 5.734 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.42/1.42, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009766/0.0009765, allocations: 103.9 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003861, allocations: 6.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2439, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.919/4.163, allocations: 1.945 GB / 3.168 GB, free: 41.34 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/4.163, allocations: 92.39 kB / 3.168 GB, free: 41.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.371/9.535, allocations: 1.556 GB / 4.724 GB, free: 158.5 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.695e-06/9.535, allocations: 0 / 4.724 GB, free: 158.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004166/9.535, allocations: 59.86 kB / 4.724 GB, free: 158.5 MB / 1.182 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.01201/9.547, allocations: 3.445 MB / 4.727 GB, free: 157.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/9.547, allocations: 7.812 kB / 4.727 GB, free: 157.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008506/9.548, allocations: 202.9 kB / 4.728 GB, free: 157.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0074/9.555, allocations: 1.01 MB / 4.729 GB, free: 157 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009523/9.565, allocations: 3.124 MB / 4.732 GB, free: 156.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/9.565, allocations: 115.8 kB / 4.732 GB, free: 156.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006541/9.566, allocations: 157.3 kB / 4.732 GB, free: 156.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004571/9.57, allocations: 1.73 MB / 4.734 GB, free: 156.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/9.571, allocations: 0 / 4.734 GB, free: 156.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/9.571, allocations: 57.84 kB / 4.734 GB, free: 156.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/9.571, allocations: 54.39 kB / 4.734 GB, free: 156.4 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/9.574, allocations: 1.425 MB / 4.735 GB, free: 156.3 MB / 1.182 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.01217/9.586, allocations: 7.774 MB / 4.743 GB, free: 152.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/9.59, allocations: 1.294 MB / 4.744 GB, free: 152.4 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/9.59, allocations: 114.1 kB / 4.744 GB, free: 152.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/9.59, allocations: 46.31 kB / 4.744 GB, free: 152.2 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/9.591, allocations: 154.9 kB / 4.744 GB, free: 152.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=85): time 4.619e-06/9.591, allocations: 0 / 4.744 GB, free: 152.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=85): time 0.006869/9.598, allocations: 2.25 MB / 4.747 GB, free: 151.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/9.598, allocations: 58.41 kB / 4.747 GB, free: 151.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/9.601, allocations: 1.597 MB / 4.748 GB, free: 151.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/9.601, allocations: 50.95 kB / 4.748 GB, free: 151.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008475/9.602, allocations: 1.015 MB / 4.749 GB, free: 151.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/9.602, allocations: 296.5 kB / 4.749 GB, free: 150.9 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/9.603, allocations: 20.31 kB / 4.749 GB, free: 150.9 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/9.603, allocations: 352.1 kB / 4.75 GB, free: 150.6 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/9.604, allocations: 457.9 kB / 4.75 GB, free: 150.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/9.605, allocations: 0.8999 MB / 4.751 GB, free: 150.1 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/9.606, allocations: 0.5649 MB / 4.752 GB, free: 150.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/9.606, allocations: 3.219 kB / 4.752 GB, free: 150.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004482/9.611, allocations: 1.694 MB / 4.753 GB, free: 149.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.000902/9.612, allocations: 3.979 MB / 4.757 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/9.612, allocations: 14.62 kB / 4.757 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009924/9.613, allocations: 272.4 kB / 4.757 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/9.614, allocations: 268 kB / 4.758 GB, free: 145.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/9.617, allocations: 3.675 MB / 4.761 GB, free: 142.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/9.62, allocations: 162.3 kB / 4.761 GB, free: 142.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/9.62, allocations: 78.42 kB / 4.762 GB, free: 142.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/9.62, allocations: 3.812 kB / 4.762 GB, free: 142.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0042/9.625, allocations: 1.538 MB / 4.763 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/9.625, allocations: 9.688 kB / 4.763 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/9.626, allocations: 329.9 kB / 4.763 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009814/9.627, allocations: 238.4 kB / 4.764 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006333/9.633, allocations: 5.284 MB / 4.769 GB, free: 139 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/9.635, allocations: 167.6 kB / 4.769 GB, free: 139 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002669/9.636, allocations: 67.36 kB / 4.769 GB, free: 139 MB / 1.182 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 (118): * Single equations (assignments): 112 * 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: 3 * 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: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001601/9.637, allocations: 0.6146 MB / 4.77 GB, free: 138.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/9.638, allocations: 200.7 kB / 4.77 GB, free: 138.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/9.643, allocations: 1.559 MB / 4.771 GB, free: 138.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/9.643, allocations: 8.562 kB / 4.771 GB, free: 138.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/9.643, allocations: 3.953 kB / 4.771 GB, free: 138.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003296/9.646, allocations: 1.334 MB / 4.773 GB, free: 138.4 MB / 1.182 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.008375/9.654, allocations: 3.36 MB / 4.776 GB, free: 137.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/9.654, allocations: 3.938 kB / 4.776 GB, free: 137.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/9.655, allocations: 196.4 kB / 4.776 GB, free: 137.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008668/9.656, allocations: 269.7 kB / 4.776 GB, free: 137.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/9.656, allocations: 33.38 kB / 4.776 GB, free: 137.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/9.659, allocations: 3.544 MB / 4.78 GB, free: 134.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/9.659, allocations: 3.688 kB / 4.78 GB, free: 134.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00524/9.664, allocations: 2.26 MB / 4.782 GB, free: 134.3 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/9.666, allocations: 381.2 kB / 4.782 GB, free: 134.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005465/9.666, allocations: 19.66 kB / 4.782 GB, free: 134.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/9.668, allocations: 141.8 kB / 4.783 GB, free: 134.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/9.668, allocations: 55.28 kB / 4.783 GB, free: 134.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/9.668, allocations: 43.5 kB / 4.783 GB, free: 134.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002375/9.671, allocations: 1.244 MB / 4.784 GB, free: 134 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.3e-07/9.671, allocations: 0 / 4.784 GB, free: 134 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005992/9.677, allocations: 1.549 MB / 4.785 GB, free: 133.8 MB / 1.182 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 (71): * Single equations (assignments): 67 * 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: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01228/9.689, allocations: 7.471 MB / 4.793 GB, free: 130.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005773/9.695, allocations: 2.309 MB / 4.795 GB, free: 130.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/9.695, allocations: 3.938 kB / 4.795 GB, free: 130.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/9.697, allocations: 0.6951 MB / 4.796 GB, free: 130.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005095/9.702, allocations: 1.042 MB / 4.797 GB, free: 130.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/9.714, allocations: 12.15 MB / 4.809 GB, free: 121 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/9.716, allocations: 1.658 MB / 4.81 GB, free: 120.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002922/9.719, allocations: 0.5014 MB / 4.811 GB, free: 120.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/9.721, allocations: 0.8618 MB / 4.811 GB, free: 120.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.472e-06/9.721, allocations: 0 / 4.811 GB, free: 120.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/9.872, allocations: 112.5 MB / 4.921 GB, free: 48.11 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/9.872, allocations: 263.6 kB / 4.922 GB, free: 47.77 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.79/15.66, allocations: 4 kB / 4.922 GB, free: 47.76 MB / 1.182 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