Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8194/0.8194, allocations: 127.4 MB / 134.9 MB, free: 3.445 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 178.7 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 96.41 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.428e-05, allocations: 2.375 kB / 0.5467 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 76.77 MB / 0.6216 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.87/6.018, allocations: 2.19 GB / 2.812 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/6.018, allocations: 97.59 kB / 2.812 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.309/12.33, allocations: 1.503 GB / 4.315 GB, free: 61.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/12.33, allocations: 0 / 4.315 GB, free: 61.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004897/12.33, allocations: 61.34 kB / 4.315 GB, free: 61.88 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.009569/12.34, allocations: 2.579 MB / 4.317 GB, free: 60.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/12.34, allocations: 9.406 kB / 4.317 GB, free: 60.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007195/12.34, allocations: 0.8853 MB / 4.318 GB, free: 60.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009791/12.35, allocations: 3.075 MB / 4.321 GB, free: 60.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/12.35, allocations: 44.16 kB / 4.321 GB, free: 60.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006577/12.36, allocations: 94.97 kB / 4.321 GB, free: 60.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003377/12.36, allocations: 1.224 MB / 4.322 GB, free: 60.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/12.36, allocations: 1.431 MB / 4.324 GB, free: 60.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.424e-05/12.36, allocations: 3.531 kB / 4.324 GB, free: 60.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003158/12.36, allocations: 0 / 4.324 GB, free: 60.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/12.36, allocations: 52.47 kB / 4.324 GB, free: 60.15 MB / 0.698 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.01208/12.37, allocations: 7.375 MB / 4.331 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002006/12.38, allocations: 1.204 MB / 4.332 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006036/12.38, allocations: 478.5 kB / 4.333 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/12.38, allocations: 113.1 kB / 4.333 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/12.38, allocations: 44.95 kB / 4.333 GB, free: 56.15 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001168/12.38, allocations: 121.6 kB / 4.333 GB, free: 56.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 3.066e-06/12.38, allocations: 3.094 kB / 4.333 GB, free: 56.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.003682/12.38, allocations: 1.342 MB / 4.334 GB, free: 55.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/12.38, allocations: 60.06 kB / 4.334 GB, free: 55.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/12.38, allocations: 1.347 MB / 4.336 GB, free: 55.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/12.38, allocations: 30.77 kB / 4.336 GB, free: 55.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007706/12.39, allocations: 1.006 MB / 4.337 GB, free: 55.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/12.39, allocations: 289.4 kB / 4.337 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/12.39, allocations: 0 / 4.337 GB, free: 55.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/12.39, allocations: 342 kB / 4.337 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/12.39, allocations: 410.3 kB / 4.338 GB, free: 54.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/12.39, allocations: 0.8155 MB / 4.338 GB, free: 54.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/12.39, allocations: 0.5716 MB / 4.339 GB, free: 54.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/12.39, allocations: 3.094 kB / 4.339 GB, free: 54.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003113/12.39, allocations: 1.587 MB / 4.341 GB, free: 54.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008314/12.39, allocations: 3.872 MB / 4.344 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/12.39, allocations: 9.438 kB / 4.344 GB, free: 50.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009056/12.39, allocations: 323 kB / 4.345 GB, free: 50.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/12.39, allocations: 276.4 kB / 4.345 GB, free: 50.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/12.4, allocations: 3.673 MB / 4.348 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/12.4, allocations: 115.4 kB / 4.349 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/12.4, allocations: 78.28 kB / 4.349 GB, free: 47.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/12.4, allocations: 5.625 kB / 4.349 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003079/12.4, allocations: 1.273 MB / 4.35 GB, free: 47.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/12.4, allocations: 10.06 kB / 4.35 GB, free: 47.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/12.4, allocations: 305.4 kB / 4.35 GB, free: 47.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/12.4, allocations: 226.5 kB / 4.35 GB, free: 47.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/12.41, allocations: 4.993 MB / 4.355 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/12.41, allocations: 112.3 kB / 4.355 GB, free: 43.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/12.41, allocations: 66.25 kB / 4.355 GB, free: 43.81 MB / 0.698 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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 109 * 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.0005369/12.41, allocations: 143.2 kB / 4.356 GB, free: 43.7 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00394/12.42, allocations: 1.289 MB / 4.357 GB, free: 43.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/12.42, allocations: 195.9 kB / 4.357 GB, free: 43.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/12.42, allocations: 1.406 MB / 4.358 GB, free: 43.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/12.42, allocations: 10.72 kB / 4.358 GB, free: 43.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/12.42, allocations: 0 / 4.358 GB, free: 43.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00331/12.43, allocations: 1.233 MB / 4.36 GB, free: 43.08 MB / 0.698 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.007702/12.43, allocations: 3.002 MB / 4.363 GB, free: 42.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/12.43, allocations: 3.25 kB / 4.363 GB, free: 42.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/12.43, allocations: 216.7 kB / 4.363 GB, free: 42.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005969/12.44, allocations: 234.5 kB / 4.363 GB, free: 42.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/12.44, allocations: 13.73 kB / 4.363 GB, free: 42.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/12.44, allocations: 4.155 MB / 4.367 GB, free: 39.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/12.44, allocations: 0 / 4.367 GB, free: 39.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005667/12.45, allocations: 1.987 MB / 4.369 GB, free: 38.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/12.45, allocations: 348.8 kB / 4.369 GB, free: 38.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/12.45, allocations: 6.609 kB / 4.369 GB, free: 38.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/12.45, allocations: 124.2 kB / 4.369 GB, free: 38.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/12.45, allocations: 63 kB / 4.37 GB, free: 38.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.643e-05/12.45, allocations: 39.11 kB / 4.37 GB, free: 38.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001624/12.45, allocations: 1.021 MB / 4.371 GB, free: 38.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/12.45, allocations: 0 / 4.371 GB, free: 38.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005296/12.46, allocations: 1.401 MB / 4.372 GB, free: 38.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 65 * 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,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01234/12.47, allocations: 7.429 MB / 4.379 GB, free: 35.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004247/12.47, allocations: 2.067 MB / 4.381 GB, free: 34.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/12.47, allocations: 5.5 kB / 4.381 GB, free: 34.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/12.47, allocations: 0.6047 MB / 4.382 GB, free: 34.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/12.48, allocations: 0.9132 MB / 4.383 GB, free: 34.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006602/12.48, allocations: 3.302 MB / 4.386 GB, free: 33.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/12.49, allocations: 1.659 MB / 4.388 GB, free: 33.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003005/12.49, allocations: 0.7057 MB / 4.388 GB, free: 33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/12.49, allocations: 0.8315 MB / 4.389 GB, free: 33 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/12.49, allocations: 0 / 4.389 GB, free: 33 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/12.63, allocations: 87.08 MB / 4.474 GB, free: 26.31 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/12.63, allocations: 181.5 kB / 4.474 GB, free: 26.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.26/17.89, allocations: 3.469 kB / 4.474 GB, free: 26.11 MB / 0.698 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_SpeedControlled_Nrpm.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)