Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="IDEAS_dev_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.002194/0.002194, allocations: 177.5 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.7973/0.7973, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.7/1.7, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008449/0.0008448, allocations: 100.6 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.063e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5619, allocations: 82.31 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.892/5.454, allocations: 1.907 GB / 2.541 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/5.454, allocations: 87.95 kB / 2.541 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.511/11.97, allocations: 1.536 GB / 4.078 GB, free: 73.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.683e-06/11.97, allocations: 0 / 4.078 GB, free: 73.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004695/11.97, allocations: 61.55 kB / 4.078 GB, free: 73.04 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.009464/11.98, allocations: 2.582 MB / 4.08 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/11.98, allocations: 10.75 kB / 4.08 GB, free: 71.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006716/11.98, allocations: 0.8222 MB / 4.081 GB, free: 71.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/11.99, allocations: 3.021 MB / 4.084 GB, free: 71.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/11.99, allocations: 46.59 kB / 4.084 GB, free: 71.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007107/11.99, allocations: 91.95 kB / 4.084 GB, free: 71.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003455/12, allocations: 1.226 MB / 4.085 GB, free: 71.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003919/12, allocations: 1.42 MB / 4.087 GB, free: 71.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/12, allocations: 0 / 4.087 GB, free: 71.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/12, allocations: 7.797 kB / 4.087 GB, free: 71.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/12, allocations: 48.11 kB / 4.087 GB, free: 71.16 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.01473/12.02, allocations: 7.394 MB / 4.094 GB, free: 67.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/12.02, allocations: 1.185 MB / 4.095 GB, free: 67.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009007/12.02, allocations: 490.9 kB / 4.096 GB, free: 67.24 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/12.02, allocations: 109.2 kB / 4.096 GB, free: 67.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/12.02, allocations: 46.38 kB / 4.096 GB, free: 67.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001693/12.02, allocations: 125.6 kB / 4.096 GB, free: 67.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 6.873e-06/12.02, allocations: 1.75 kB / 4.096 GB, free: 67.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004866/12.03, allocations: 1.276 MB / 4.097 GB, free: 66.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/12.03, allocations: 59.72 kB / 4.097 GB, free: 66.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/12.03, allocations: 1.363 MB / 4.099 GB, free: 66.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/12.03, allocations: 27.23 kB / 4.099 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007503/12.03, allocations: 1.009 MB / 4.1 GB, free: 66.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/12.03, allocations: 284.8 kB / 4.1 GB, free: 66.06 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/12.03, allocations: 0 / 4.1 GB, free: 66.06 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001137/12.03, allocations: 350.5 kB / 4.1 GB, free: 65.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/12.03, allocations: 399.3 kB / 4.101 GB, free: 65.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008294/12.03, allocations: 0.8277 MB / 4.101 GB, free: 65.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/12.03, allocations: 0.5657 MB / 4.102 GB, free: 65.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/12.03, allocations: 3.094 kB / 4.102 GB, free: 65.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005653/12.04, allocations: 1.587 MB / 4.104 GB, free: 65.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000879/12.04, allocations: 3.956 MB / 4.107 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/12.04, allocations: 7.844 kB / 4.107 GB, free: 60.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009833/12.04, allocations: 311 kB / 4.108 GB, free: 60.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/12.04, allocations: 246.2 kB / 4.108 GB, free: 60.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/12.05, allocations: 3.655 MB / 4.112 GB, free: 58.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/12.05, allocations: 111.9 kB / 4.112 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/12.05, allocations: 81.88 kB / 4.112 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/12.05, allocations: 8.062 kB / 4.112 GB, free: 58.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004996/12.06, allocations: 1.286 MB / 4.113 GB, free: 58.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/12.06, allocations: 7.875 kB / 4.113 GB, free: 58.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/12.06, allocations: 317.4 kB / 4.113 GB, free: 58.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/12.06, allocations: 218.8 kB / 4.114 GB, free: 58.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/12.07, allocations: 5.007 MB / 4.118 GB, free: 54.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/12.07, allocations: 106.8 kB / 4.119 GB, free: 54.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/12.07, allocations: 69.7 kB / 4.119 GB, free: 54.56 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.0005199/12.07, allocations: 149.9 kB / 4.119 GB, free: 54.45 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00337/12.07, allocations: 1.188 MB / 4.12 GB, free: 54.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/12.07, allocations: 196.2 kB / 4.12 GB, free: 54.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/12.08, allocations: 1.303 MB / 4.121 GB, free: 54.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/12.08, allocations: 9.281 kB / 4.121 GB, free: 54.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/12.08, allocations: 0 / 4.121 GB, free: 54.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002511/12.08, allocations: 1.141 MB / 4.122 GB, free: 53.81 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.00654/12.08, allocations: 2.941 MB / 4.125 GB, free: 53.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/12.08, allocations: 2.406 kB / 4.125 GB, free: 53.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/12.09, allocations: 179.3 kB / 4.126 GB, free: 53.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006049/12.09, allocations: 216.5 kB / 4.126 GB, free: 53.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/12.09, allocations: 16.69 kB / 4.126 GB, free: 53.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/12.09, allocations: 3.435 MB / 4.129 GB, free: 50.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/12.09, allocations: 6.328 kB / 4.129 GB, free: 50.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/12.09, allocations: 1.905 MB / 4.131 GB, free: 49.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/12.09, allocations: 345.4 kB / 4.131 GB, free: 49.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/12.09, allocations: 3.75 kB / 4.131 GB, free: 49.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/12.1, allocations: 120.7 kB / 4.131 GB, free: 49.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/12.1, allocations: 60.94 kB / 4.131 GB, free: 49.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/12.1, allocations: 44.36 kB / 4.131 GB, free: 49.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001829/12.1, allocations: 1.025 MB / 4.133 GB, free: 49.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/12.1, allocations: 0 / 4.133 GB, free: 49.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005734/12.1, allocations: 1.445 MB / 4.134 GB, free: 49.39 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.01127/12.11, allocations: 7.225 MB / 4.141 GB, free: 46.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005376/12.12, allocations: 2.027 MB / 4.143 GB, free: 46.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/12.12, allocations: 2.406 kB / 4.143 GB, free: 46.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/12.12, allocations: 0.5694 MB / 4.144 GB, free: 45.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006772/12.13, allocations: 0.9156 MB / 4.144 GB, free: 45.92 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/12.14, allocations: 3.346 MB / 4.148 GB, free: 45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/12.14, allocations: 1.666 MB / 4.149 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003892/12.14, allocations: 0.7038 MB / 4.15 GB, free: 44.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/12.15, allocations: 0.8304 MB / 4.151 GB, free: 44.24 MB / 0.7292 GB Notification: Performance of SimCode: time 1.934e-06/12.15, allocations: 2.281 kB / 4.151 GB, free: 44.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1825/12.33, allocations: 85.56 MB / 4.234 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/12.33, allocations: 171 kB / 4.235 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.619/17.95, allocations: 0 / 4.235 GB, free: 15.53 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)