Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.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_Nrpm,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm",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.00149/0.00149, allocations: 174.6 kB / 7.647 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.8687/0.8687, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.66/1.66, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.001118/0.001119, allocations: 98.34 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.374e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.527/0.5271, allocations: 82.3 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.156/5.683, allocations: 1.907 GB / 2.541 GB, free: 89.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/5.684, allocations: 94.56 kB / 2.541 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.32/12, allocations: 1.536 GB / 4.078 GB, free: 78.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.814e-06/12, allocations: 0 / 4.078 GB, free: 78.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005367/12, allocations: 60.52 kB / 4.078 GB, free: 78.86 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.01011/12.01, allocations: 2.584 MB / 4.08 GB, free: 77.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/12.01, allocations: 11 kB / 4.08 GB, free: 77.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006988/12.02, allocations: 0.8281 MB / 4.081 GB, free: 77.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/12.03, allocations: 3.016 MB / 4.084 GB, free: 77.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/12.03, allocations: 47.03 kB / 4.084 GB, free: 77.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/12.03, allocations: 90.81 kB / 4.084 GB, free: 77.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004527/12.04, allocations: 1.228 MB / 4.085 GB, free: 77.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/12.04, allocations: 1.424 MB / 4.087 GB, free: 76.86 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/12.04, allocations: 3.328 kB / 4.087 GB, free: 76.86 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/12.04, allocations: 0 / 4.087 GB, free: 76.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/12.04, allocations: 49.52 kB / 4.087 GB, free: 76.85 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.01166/12.06, allocations: 7.389 MB / 4.094 GB, free: 73.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/12.06, allocations: 1.187 MB / 4.095 GB, free: 72.94 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/12.06, allocations: 484.3 kB / 4.096 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/12.06, allocations: 112.2 kB / 4.096 GB, free: 72.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/12.06, allocations: 44.22 kB / 4.096 GB, free: 72.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001257/12.06, allocations: 123.4 kB / 4.096 GB, free: 72.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.767e-06/12.06, allocations: 0 / 4.096 GB, free: 72.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.003291/12.06, allocations: 1.277 MB / 4.097 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/12.06, allocations: 65.25 kB / 4.097 GB, free: 72.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/12.07, allocations: 1.366 MB / 4.099 GB, free: 72.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/12.07, allocations: 26.8 kB / 4.099 GB, free: 72.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008997/12.07, allocations: 0.9996 MB / 4.1 GB, free: 71.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/12.07, allocations: 287.9 kB / 4.1 GB, free: 71.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/12.07, allocations: 0 / 4.1 GB, free: 71.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001361/12.07, allocations: 350.2 kB / 4.1 GB, free: 71.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/12.07, allocations: 397.6 kB / 4.101 GB, free: 71.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/12.07, allocations: 0.8254 MB / 4.101 GB, free: 70.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/12.07, allocations: 0.5639 MB / 4.102 GB, free: 70.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/12.07, allocations: 7.891 kB / 4.102 GB, free: 70.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003826/12.07, allocations: 1.585 MB / 4.104 GB, free: 70.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001174/12.07, allocations: 3.954 MB / 4.107 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/12.07, allocations: 11.78 kB / 4.107 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/12.08, allocations: 319.9 kB / 4.108 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/12.08, allocations: 244.8 kB / 4.108 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/12.08, allocations: 3.651 MB / 4.112 GB, free: 63.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/12.08, allocations: 110.6 kB / 4.112 GB, free: 63.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/12.08, allocations: 83.28 kB / 4.112 GB, free: 63.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/12.08, allocations: 3.5 kB / 4.112 GB, free: 63.79 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003386/12.09, allocations: 1.285 MB / 4.113 GB, free: 63.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/12.09, allocations: 11.25 kB / 4.113 GB, free: 63.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/12.09, allocations: 311.3 kB / 4.113 GB, free: 63.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/12.09, allocations: 222.2 kB / 4.114 GB, free: 63.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/12.1, allocations: 5.012 MB / 4.118 GB, free: 60.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/12.1, allocations: 103.4 kB / 4.119 GB, free: 60.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/12.1, allocations: 68.97 kB / 4.119 GB, free: 60.26 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.0006276/12.1, allocations: 141.8 kB / 4.119 GB, free: 60.14 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003576/12.1, allocations: 1.2 MB / 4.12 GB, free: 59.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/12.1, allocations: 195.2 kB / 4.12 GB, free: 59.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/12.11, allocations: 1.313 MB / 4.121 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/12.11, allocations: 6.906 kB / 4.121 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/12.11, allocations: 0 / 4.121 GB, free: 59.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002371/12.11, allocations: 1.12 MB / 4.122 GB, free: 59.51 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.007138/12.12, allocations: 2.954 MB / 4.125 GB, free: 58.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/12.12, allocations: 3.375 kB / 4.125 GB, free: 58.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/12.12, allocations: 180.4 kB / 4.126 GB, free: 58.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005451/12.12, allocations: 218.7 kB / 4.126 GB, free: 58.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/12.12, allocations: 9.609 kB / 4.126 GB, free: 58.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/12.12, allocations: 3.441 MB / 4.129 GB, free: 56.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/12.12, allocations: 3.188 kB / 4.129 GB, free: 56.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/12.12, allocations: 1.893 MB / 4.131 GB, free: 55.65 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/12.12, allocations: 350.1 kB / 4.131 GB, free: 55.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/12.13, allocations: 1.719 kB / 4.131 GB, free: 55.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/12.13, allocations: 121.9 kB / 4.131 GB, free: 55.44 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/12.13, allocations: 69.11 kB / 4.131 GB, free: 55.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/12.13, allocations: 43.88 kB / 4.131 GB, free: 55.44 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001603/12.13, allocations: 1.025 MB / 4.132 GB, free: 55.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.402e-06/12.13, allocations: 0 / 4.132 GB, free: 55.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005492/12.13, allocations: 1.442 MB / 4.134 GB, free: 55.1 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.009947/12.14, allocations: 7.237 MB / 4.141 GB, free: 52.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00391/12.15, allocations: 2.041 MB / 4.143 GB, free: 51.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/12.15, allocations: 0 / 4.143 GB, free: 51.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009334/12.15, allocations: 0.5635 MB / 4.144 GB, free: 51.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/12.15, allocations: 0.9196 MB / 4.144 GB, free: 51.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00721/12.16, allocations: 3.323 MB / 4.148 GB, free: 50.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/12.16, allocations: 1.665 MB / 4.149 GB, free: 49.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003115/12.16, allocations: 0.7044 MB / 4.15 GB, free: 49.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/12.17, allocations: 0.8324 MB / 4.151 GB, free: 49.94 MB / 0.7292 GB Notification: Performance of SimCode: time 1.863e-06/12.17, allocations: 0 / 4.151 GB, free: 49.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/12.31, allocations: 85.57 MB / 4.234 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/12.31, allocations: 161.6 kB / 4.235 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.494/17.81, allocations: 0 / 4.235 GB, free: 13.36 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)