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/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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001254/0.001254, allocations: 180.1 kB / 492.3 MB, free: 0.6133 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.526/1.526, allocations: 221.3 MB / 0.7872 GB, free: 12.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.001114/0.001114, allocations: 95.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.866e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2795, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.277/5.557, allocations: 1.945 GB / 3.158 GB, free: 383.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/5.557, allocations: 88.7 kB / 3.158 GB, free: 383.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.183/10.74, allocations: 1.554 GB / 4.712 GB, free: 130.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.663e-06/10.74, allocations: 0 / 4.712 GB, free: 130.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003959/10.74, allocations: 55.98 kB / 4.712 GB, free: 130.6 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.007375/10.75, allocations: 2.585 MB / 4.715 GB, free: 128 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/10.75, allocations: 11.97 kB / 4.715 GB, free: 128 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006631/10.75, allocations: 206.8 kB / 4.715 GB, free: 127.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007203/10.76, allocations: 0.9919 MB / 4.716 GB, free: 126.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008933/10.77, allocations: 3.101 MB / 4.719 GB, free: 123.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/10.77, allocations: 114.8 kB / 4.719 GB, free: 123.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005696/10.77, allocations: 152.9 kB / 4.719 GB, free: 123.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003667/10.77, allocations: 1.639 MB / 4.721 GB, free: 121.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/10.77, allocations: 0 / 4.721 GB, free: 121.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/10.77, allocations: 63.95 kB / 4.721 GB, free: 121.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/10.77, allocations: 50.67 kB / 4.721 GB, free: 121.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/10.77, allocations: 1.244 MB / 4.722 GB, free: 120.3 MB / 1.182 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.009845/10.78, allocations: 7.776 MB / 4.73 GB, free: 111.9 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/10.78, allocations: 1.147 MB / 4.731 GB, free: 110.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/10.78, allocations: 453 kB / 4.731 GB, free: 110.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/10.78, allocations: 117.8 kB / 4.731 GB, free: 110.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/10.78, allocations: 43.34 kB / 4.731 GB, free: 110.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001148/10.79, allocations: 151 kB / 4.732 GB, free: 110 MB / 1.182 GB Notification: Performance of pre-optimization done (n=85): time 2.805e-06/10.79, allocations: 4 kB / 4.732 GB, free: 110 MB / 1.182 GB Notification: Performance of matching and sorting (n=85): time 0.002491/10.79, allocations: 1.164 MB / 4.733 GB, free: 108.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/10.79, allocations: 60.19 kB / 4.733 GB, free: 108.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001986/10.79, allocations: 1.573 MB / 4.734 GB, free: 107.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/10.79, allocations: 49.7 kB / 4.734 GB, free: 107.1 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/10.79, allocations: 1.005 MB / 4.735 GB, free: 106 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/10.79, allocations: 295.6 kB / 4.736 GB, free: 105.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/10.79, allocations: 27.98 kB / 4.736 GB, free: 105.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/10.79, allocations: 349.9 kB / 4.736 GB, free: 105.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/10.79, allocations: 378.5 kB / 4.736 GB, free: 105 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/10.79, allocations: 0.8083 MB / 4.737 GB, free: 104 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/10.79, allocations: 488.1 kB / 4.738 GB, free: 103.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/10.79, allocations: 4 kB / 4.738 GB, free: 103.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002721/10.8, allocations: 1.519 MB / 4.739 GB, free: 102 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007067/10.8, allocations: 3.975 MB / 4.743 GB, free: 97.59 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/10.8, allocations: 15.94 kB / 4.743 GB, free: 97.57 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/10.8, allocations: 262.3 kB / 4.743 GB, free: 97.31 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/10.8, allocations: 267.6 kB / 4.743 GB, free: 97.05 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/10.8, allocations: 3.639 MB / 4.747 GB, free: 93.21 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/10.8, allocations: 163.7 kB / 4.747 GB, free: 93.05 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/10.8, allocations: 83.95 kB / 4.747 GB, free: 92.97 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/10.8, allocations: 4 kB / 4.747 GB, free: 92.96 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002777/10.81, allocations: 1.383 MB / 4.749 GB, free: 91.57 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/10.81, allocations: 8.281 kB / 4.749 GB, free: 91.56 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/10.81, allocations: 334.3 kB / 4.749 GB, free: 91.23 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008101/10.81, allocations: 231.7 kB / 4.749 GB, free: 91 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/10.81, allocations: 5.193 MB / 4.754 GB, free: 85.44 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/10.82, allocations: 163.7 kB / 4.754 GB, free: 85.28 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/10.82, allocations: 67.97 kB / 4.754 GB, free: 85.21 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 110 * 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 9,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003271/10.82, allocations: 173.2 kB / 4.755 GB, free: 85.04 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/10.82, allocations: 205.4 kB / 4.755 GB, free: 84.83 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/10.82, allocations: 1.389 MB / 4.756 GB, free: 83.43 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/10.82, allocations: 8 kB / 4.756 GB, free: 83.42 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/10.82, allocations: 3.953 kB / 4.756 GB, free: 83.41 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/10.82, allocations: 1.165 MB / 4.757 GB, free: 82.21 MB / 1.182 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.005877/10.83, allocations: 3.224 MB / 4.76 GB, free: 78.87 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/10.83, allocations: 0 / 4.76 GB, free: 78.87 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/10.83, allocations: 195.9 kB / 4.761 GB, free: 78.68 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007224/10.83, allocations: 266 kB / 4.761 GB, free: 78.41 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/10.83, allocations: 23.98 kB / 4.761 GB, free: 78.39 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/10.83, allocations: 3.471 MB / 4.764 GB, free: 74.71 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/10.83, allocations: 7.938 kB / 4.764 GB, free: 74.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/10.83, allocations: 1.989 MB / 4.766 GB, free: 72.63 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/10.84, allocations: 370.4 kB / 4.767 GB, free: 72.25 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/10.84, allocations: 20.17 kB / 4.767 GB, free: 72.23 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/10.84, allocations: 143.7 kB / 4.767 GB, free: 72.09 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/10.84, allocations: 60.7 kB / 4.767 GB, free: 72.03 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/10.84, allocations: 43.97 kB / 4.767 GB, free: 71.98 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001709/10.84, allocations: 1.228 MB / 4.768 GB, free: 70.73 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.91e-07/10.84, allocations: 4 kB / 4.768 GB, free: 70.73 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004861/10.84, allocations: 1.548 MB / 4.77 GB, free: 69.18 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 () * 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/10.86, allocations: 7.215 MB / 4.777 GB, free: 61.56 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00476/10.86, allocations: 2.136 MB / 4.779 GB, free: 59.38 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/10.86, allocations: 0 / 4.779 GB, free: 59.38 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/10.86, allocations: 0.6139 MB / 4.779 GB, free: 58.76 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00523/10.87, allocations: 1.046 MB / 4.78 GB, free: 57.72 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/10.87, allocations: 3.496 MB / 4.784 GB, free: 54.15 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009958/10.88, allocations: 1.661 MB / 4.785 GB, free: 52.46 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003047/10.88, allocations: 0.7822 MB / 4.786 GB, free: 51.67 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/10.88, allocations: 0.8429 MB / 4.787 GB, free: 50.83 MB / 1.182 GB Notification: Performance of SimCode: time 7.31e-07/10.88, allocations: 3.938 kB / 4.787 GB, free: 50.82 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9274/11.81, allocations: 125.4 MB / 4.909 GB, free: 158 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/11.81, allocations: 223.2 kB / 4.91 GB, free: 157.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.13/17.94, allocations: 0 / 4.91 GB, free: 157.8 MB / 1.198 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