Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.7727/0.7727, allocations: 127.4 MB / 134.9 MB, free: 3.723 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.001152/0.001152, allocations: 168.9 kB / 164.7 MB, free: 6.527 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.514/1.514, allocations: 205.2 MB / 399.5 MB, free: 5.922 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.0008789/0.000879, allocations: 83.69 kB / 476.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.133e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1467, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.433, allocations: 405 MB / 1.017 GB, free: 115.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.433, allocations: 94.25 kB / 1.017 GB, free: 115.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.147/6.58, allocations: 1.389 GB / 2.406 GB, free: 1.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.274e-06/6.58, allocations: 0 / 2.406 GB, free: 1.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009623/6.581, allocations: 103.8 kB / 2.407 GB, free: 1.52 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.58/7.161, allocations: 3.663 MB / 2.41 GB, free: 43.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/7.161, allocations: 13.08 kB / 2.41 GB, free: 43.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/7.172, allocations: 1.282 MB / 2.411 GB, free: 43.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06784/7.24, allocations: 27.48 MB / 2.438 GB, free: 42.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/7.24, allocations: 69.66 kB / 2.438 GB, free: 42.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009176/7.241, allocations: 140.4 kB / 2.438 GB, free: 42.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003794/7.244, allocations: 1.882 MB / 2.44 GB, free: 42.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/7.248, allocations: 2.259 MB / 2.442 GB, free: 41.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/7.248, allocations: 2.625 kB / 2.442 GB, free: 41.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/7.249, allocations: 5.594 kB / 2.442 GB, free: 41.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/7.249, allocations: 53.97 kB / 2.443 GB, free: 41.83 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.01918/7.268, allocations: 11.93 MB / 2.454 GB, free: 35.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/7.271, allocations: 2.051 MB / 2.456 GB, free: 35.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009469/7.272, allocations: 0.7837 MB / 2.457 GB, free: 35.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007016/7.279, allocations: 3.438 MB / 2.46 GB, free: 34.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/7.279, allocations: 50.14 kB / 2.46 GB, free: 34.16 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001884/7.281, allocations: 180.8 kB / 2.461 GB, free: 34.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=113): time 5.741e-06/7.281, allocations: 0 / 2.461 GB, free: 34.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=113): time 0.009988/7.291, allocations: 2.96 MB / 2.463 GB, free: 33.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/7.291, allocations: 67.75 kB / 2.463 GB, free: 33.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/7.295, allocations: 2.583 MB / 2.466 GB, free: 33.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006694/7.296, allocations: 28.8 kB / 2.466 GB, free: 33.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/7.298, allocations: 1.788 MB / 2.468 GB, free: 32.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/7.298, allocations: 378.2 kB / 2.468 GB, free: 32.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/7.298, allocations: 0 / 2.468 GB, free: 32.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001091/7.298, allocations: 376.5 kB / 2.469 GB, free: 32.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/7.299, allocations: 0.8326 MB / 2.469 GB, free: 32.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/7.301, allocations: 1.58 MB / 2.471 GB, free: 31.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/7.304, allocations: 1.221 MB / 2.472 GB, free: 31.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/7.304, allocations: 3.75 kB / 2.472 GB, free: 31.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.008008/7.312, allocations: 3.327 MB / 2.475 GB, free: 31.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00177/7.314, allocations: 8.072 MB / 2.483 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/7.314, allocations: 18.16 kB / 2.483 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/7.316, allocations: 0.8946 MB / 2.484 GB, free: 22.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001858/7.318, allocations: 387.7 kB / 2.484 GB, free: 22.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/7.324, allocations: 5.907 MB / 2.49 GB, free: 34.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004096/7.328, allocations: 206.6 kB / 2.49 GB, free: 34.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006909/7.329, allocations: 181.5 kB / 2.491 GB, free: 34.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/7.329, allocations: 4.5 kB / 2.491 GB, free: 34.55 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007158/7.336, allocations: 2.706 MB / 2.493 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-05/7.336, allocations: 18.12 kB / 2.493 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/7.339, allocations: 0.9885 MB / 2.494 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/7.341, allocations: 361.7 kB / 2.495 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01945/7.36, allocations: 13.64 MB / 2.508 GB, free: 26.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003748/7.364, allocations: 167.1 kB / 2.508 GB, free: 26.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004569/7.365, allocations: 155.8 kB / 2.508 GB, free: 26.49 MB / 0.7136 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 177 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009113/7.366, allocations: 178.2 kB / 2.508 GB, free: 26.37 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007982/7.374, allocations: 2.326 MB / 2.511 GB, free: 26.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/7.375, allocations: 346.6 kB / 2.511 GB, free: 25.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007551/7.382, allocations: 2.685 MB / 2.514 GB, free: 25.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/7.382, allocations: 18.77 kB / 2.514 GB, free: 25.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/7.382, allocations: 0 / 2.514 GB, free: 25.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/7.382, allocations: 8.453 kB / 2.514 GB, free: 25.61 MB / 0.7136 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.01367/7.396, allocations: 4.519 MB / 2.518 GB, free: 25.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/7.396, allocations: 3.812 kB / 2.518 GB, free: 25.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/7.397, allocations: 187.5 kB / 2.518 GB, free: 25.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/7.398, allocations: 0.5599 MB / 2.519 GB, free: 25.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/7.398, allocations: 33.22 kB / 2.519 GB, free: 25.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/7.402, allocations: 5.126 MB / 2.524 GB, free: 20.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/7.402, allocations: 0 / 2.524 GB, free: 20.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/7.41, allocations: 2.48 MB / 2.526 GB, free: 20.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/7.412, allocations: 0.5833 MB / 2.527 GB, free: 20.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/7.413, allocations: 6.453 kB / 2.527 GB, free: 20.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/7.415, allocations: 193.2 kB / 2.527 GB, free: 20.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/7.415, allocations: 80 kB / 2.527 GB, free: 20.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/7.415, allocations: 73.17 kB / 2.527 GB, free: 20.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003205/7.418, allocations: 1.969 MB / 2.529 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/7.418, allocations: 2.078 kB / 2.529 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008119/7.427, allocations: 1.896 MB / 2.531 GB, free: 19.77 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 6,1 4,1 6,1 4,1 6,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01143/7.438, allocations: 5.244 MB / 2.536 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007127/7.445, allocations: 3.813 MB / 2.54 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/7.445, allocations: 0 / 2.54 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001437/7.447, allocations: 0.7513 MB / 2.54 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009288/7.456, allocations: 1.587 MB / 2.542 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/7.477, allocations: 5.684 MB / 2.548 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003537/7.481, allocations: 2.308 MB / 2.55 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.006477/7.488, allocations: 1.239 MB / 2.551 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/7.49, allocations: 1.534 MB / 2.553 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of SimCode: time 1.653e-06/7.49, allocations: 0 / 2.553 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2177/7.707, allocations: 119.7 MB / 2.669 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/7.708, allocations: 180.9 kB / 2.67 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/14.36, allocations: 1.859 kB / 2.67 GB, free: 13.32 MB / 0.7448 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)