Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8631/0.8631, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.000946, allocations: 105.5 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.592e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5564, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.206/5.762, allocations: 1.907 GB / 2.541 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/5.762, allocations: 91.95 kB / 2.541 GB, free: 129 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.688/12.45, allocations: 1.536 GB / 4.078 GB, free: 72.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.675e-06/12.45, allocations: 5.656 kB / 4.078 GB, free: 72.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007272/12.45, allocations: 57.02 kB / 4.078 GB, free: 72.9 MB / 0.7292 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.01207/12.46, allocations: 2.577 MB / 4.08 GB, free: 71.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/12.46, allocations: 13.09 kB / 4.08 GB, free: 71.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007073/12.47, allocations: 0.8281 MB / 4.081 GB, free: 71.69 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/12.48, allocations: 3.018 MB / 4.084 GB, free: 71.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/12.48, allocations: 45 kB / 4.084 GB, free: 71.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007524/12.48, allocations: 91.53 kB / 4.084 GB, free: 71.23 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003897/12.49, allocations: 1.218 MB / 4.085 GB, free: 71.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/12.49, allocations: 1.416 MB / 4.087 GB, free: 71.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.107e-05/12.49, allocations: 4.75 kB / 4.087 GB, free: 71.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/12.49, allocations: 3.953 kB / 4.087 GB, free: 71.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.449e-05/12.49, allocations: 49.42 kB / 4.087 GB, free: 71.03 MB / 0.7292 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.01372/12.51, allocations: 7.398 MB / 4.094 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/12.51, allocations: 1.189 MB / 4.095 GB, free: 67.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/12.51, allocations: 490.3 kB / 4.096 GB, free: 67.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/12.51, allocations: 108.3 kB / 4.096 GB, free: 67.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/12.51, allocations: 43.94 kB / 4.096 GB, free: 66.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001245/12.51, allocations: 131.7 kB / 4.096 GB, free: 66.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.897e-06/12.51, allocations: 0 / 4.096 GB, free: 66.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.003131/12.51, allocations: 1.275 MB / 4.097 GB, free: 66.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/12.51, allocations: 63.25 kB / 4.097 GB, free: 66.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/12.52, allocations: 1.357 MB / 4.099 GB, free: 66.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/12.52, allocations: 29.39 kB / 4.099 GB, free: 66.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/12.52, allocations: 1.009 MB / 4.1 GB, free: 66.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/12.52, allocations: 285 kB / 4.1 GB, free: 65.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/12.52, allocations: 0 / 4.1 GB, free: 65.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/12.52, allocations: 350.8 kB / 4.1 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005126/12.52, allocations: 406.2 kB / 4.101 GB, free: 65.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/12.52, allocations: 0.8296 MB / 4.101 GB, free: 65.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/12.52, allocations: 0.5601 MB / 4.102 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/12.52, allocations: 3.906 kB / 4.102 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00347/12.52, allocations: 1.589 MB / 4.104 GB, free: 64.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007749/12.52, allocations: 3.949 MB / 4.107 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/12.52, allocations: 14.39 kB / 4.107 GB, free: 60.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008795/12.52, allocations: 309.6 kB / 4.108 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/12.53, allocations: 247.1 kB / 4.108 GB, free: 60.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/12.53, allocations: 3.655 MB / 4.112 GB, free: 57.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/12.53, allocations: 109 kB / 4.112 GB, free: 57.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/12.53, allocations: 83.95 kB / 4.112 GB, free: 57.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/12.53, allocations: 2.75 kB / 4.112 GB, free: 57.96 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003162/12.53, allocations: 1.291 MB / 4.113 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/12.53, allocations: 10 kB / 4.113 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/12.53, allocations: 315.2 kB / 4.113 GB, free: 57.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/12.54, allocations: 220.9 kB / 4.114 GB, free: 57.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/12.54, allocations: 5.007 MB / 4.118 GB, free: 54.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/12.54, allocations: 106.8 kB / 4.119 GB, free: 54.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/12.54, allocations: 65.66 kB / 4.119 GB, free: 54.43 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0004352/12.54, allocations: 141.2 kB / 4.119 GB, free: 54.32 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002961/12.55, allocations: 1.196 MB / 4.12 GB, free: 54.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/12.55, allocations: 196.5 kB / 4.12 GB, free: 54.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/12.55, allocations: 1.305 MB / 4.121 GB, free: 53.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/12.55, allocations: 9.062 kB / 4.121 GB, free: 53.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/12.55, allocations: 3.656 kB / 4.121 GB, free: 53.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002474/12.55, allocations: 1.126 MB / 4.122 GB, free: 53.68 MB / 0.7292 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.009644/12.56, allocations: 2.946 MB / 4.125 GB, free: 53.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/12.56, allocations: 3.375 kB / 4.125 GB, free: 53.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009416/12.56, allocations: 181.2 kB / 4.126 GB, free: 53.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006258/12.56, allocations: 212.6 kB / 4.126 GB, free: 53.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/12.56, allocations: 17.58 kB / 4.126 GB, free: 53.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/12.57, allocations: 3.442 MB / 4.129 GB, free: 50.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/12.57, allocations: 3.953 kB / 4.129 GB, free: 50.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/12.57, allocations: 1.89 MB / 4.131 GB, free: 49.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/12.57, allocations: 349 kB / 4.131 GB, free: 49.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/12.57, allocations: 9.25 kB / 4.131 GB, free: 49.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/12.58, allocations: 121 kB / 4.131 GB, free: 49.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/12.58, allocations: 71.03 kB / 4.131 GB, free: 49.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/12.58, allocations: 38.95 kB / 4.131 GB, free: 49.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002427/12.58, allocations: 1.026 MB / 4.133 GB, free: 49.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.5e-07/12.58, allocations: 0 / 4.133 GB, free: 49.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006965/12.58, allocations: 1.441 MB / 4.134 GB, free: 49.27 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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.01214/12.6, allocations: 7.228 MB / 4.141 GB, free: 46.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005066/12.6, allocations: 2.031 MB / 4.143 GB, free: 45.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/12.6, allocations: 3.406 kB / 4.143 GB, free: 45.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/12.6, allocations: 0.576 MB / 4.144 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005677/12.61, allocations: 0.9171 MB / 4.144 GB, free: 45.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/12.62, allocations: 3.323 MB / 4.148 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002296/12.62, allocations: 1.666 MB / 4.149 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004158/12.63, allocations: 0.7063 MB / 4.15 GB, free: 44.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/12.63, allocations: 0.8249 MB / 4.151 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.545e-06/12.63, allocations: 0 / 4.151 GB, free: 44.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1518/12.78, allocations: 85.57 MB / 4.234 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/12.78, allocations: 157.9 kB / 4.234 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.373/18.15, allocations: 0 / 4.234 GB, free: 15.29 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_y.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)