Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.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.PumpCurveConstruction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction",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.8032/0.8032, allocations: 127.4 MB / 134.9 MB, free: 3.461 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.001257/0.001257, allocations: 179.1 kB / 164.7 MB, free: 11.61 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.767/1.767, allocations: 205.2 MB / 399.5 MB, free: 13.56 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.0009897/0.0009897, allocations: 94.78 kB / 476.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.128e-05, allocations: 2.438 kB / 0.5467 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1663, allocations: 76.77 MB / 0.6216 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.464/1.63, allocations: 403.2 MB / 1.015 GB, free: 179.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.63, allocations: 97.05 kB / 1.015 GB, free: 179.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.633/7.264, allocations: 1.436 GB / 2.452 GB, free: 45.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.148e-06/7.264, allocations: 0 / 2.452 GB, free: 45.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0008933/7.265, allocations: 99.98 kB / 2.452 GB, free: 45.16 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: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.01333/7.278, allocations: 3.55 MB / 2.455 GB, free: 43.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/7.278, allocations: 11.81 kB / 2.455 GB, free: 43.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008829/7.287, allocations: 1.261 MB / 2.457 GB, free: 43.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06099/7.348, allocations: 26.64 MB / 2.483 GB, free: 40.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/7.348, allocations: 64.69 kB / 2.483 GB, free: 40.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008897/7.349, allocations: 139.8 kB / 2.483 GB, free: 40.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003574/7.353, allocations: 1.764 MB / 2.485 GB, free: 39.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/7.357, allocations: 2.149 MB / 2.487 GB, free: 38.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/7.357, allocations: 0 / 2.487 GB, free: 38.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/7.357, allocations: 3.062 kB / 2.487 GB, free: 38.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/7.357, allocations: 56.31 kB / 2.487 GB, free: 38.72 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.376, allocations: 11.51 MB / 2.498 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/7.379, allocations: 1.78 MB / 2.5 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/7.379, allocations: 0.6976 MB / 2.5 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006723/7.386, allocations: 3.296 MB / 2.504 GB, free: 27.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/7.386, allocations: 43.88 kB / 2.504 GB, free: 27.14 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001685/7.388, allocations: 165.4 kB / 2.504 GB, free: 27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=113): time 5.02e-06/7.388, allocations: 0 / 2.504 GB, free: 27 MB / 0.698 GB Notification: Performance of matching and sorting (n=113): time 0.009935/7.398, allocations: 2.726 MB / 2.507 GB, free: 24.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/7.398, allocations: 68.72 kB / 2.507 GB, free: 24.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004779/7.403, allocations: 2.397 MB / 2.509 GB, free: 22.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006984/7.403, allocations: 29.7 kB / 2.509 GB, free: 22.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/7.405, allocations: 1.697 MB / 2.511 GB, free: 20.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006058/7.405, allocations: 374.3 kB / 2.511 GB, free: 20.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/7.406, allocations: 0 / 2.511 GB, free: 20.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001248/7.406, allocations: 377.9 kB / 2.511 GB, free: 20.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000996/7.407, allocations: 0.699 MB / 2.512 GB, free: 19.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/7.408, allocations: 1.413 MB / 2.513 GB, free: 17.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/7.411, allocations: 1.078 MB / 2.514 GB, free: 16.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/7.411, allocations: 7.953 kB / 2.514 GB, free: 16.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.007516/7.419, allocations: 2.948 MB / 2.517 GB, free: 13.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001707/7.42, allocations: 7.608 MB / 2.525 GB, free: 5.426 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/7.421, allocations: 20 kB / 2.525 GB, free: 5.406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/7.422, allocations: 0.7506 MB / 2.526 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/7.424, allocations: 379.4 kB / 2.526 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/7.428, allocations: 5.487 MB / 2.531 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/7.433, allocations: 203.8 kB / 2.531 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007285/7.433, allocations: 151.9 kB / 2.532 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/7.433, allocations: 5.719 kB / 2.532 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006882/7.44, allocations: 2.302 MB / 2.534 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.8e-05/7.44, allocations: 18.25 kB / 2.534 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/7.443, allocations: 0.8053 MB / 2.535 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/7.444, allocations: 347.4 kB / 2.535 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6892/8.134, allocations: 12.12 MB / 2.547 GB, free: 59.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/8.137, allocations: 162.4 kB / 2.547 GB, free: 59.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005409/8.138, allocations: 131.5 kB / 2.547 GB, free: 59.79 MB / 0.7136 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.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_m_flow.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_dp.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: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 171 * 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.0007922/8.139, allocations: 169.1 kB / 2.547 GB, free: 59.68 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01053/8.149, allocations: 2.325 MB / 2.55 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/8.151, allocations: 324.9 kB / 2.55 GB, free: 59.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/8.161, allocations: 2.693 MB / 2.552 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/8.161, allocations: 13.83 kB / 2.552 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/8.161, allocations: 0.75 kB / 2.552 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/8.161, allocations: 8.516 kB / 2.553 GB, free: 59.41 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.014/8.175, allocations: 4.42 MB / 2.557 GB, free: 58.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/8.175, allocations: 3.328 kB / 2.557 GB, free: 58.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009539/8.176, allocations: 202.5 kB / 2.557 GB, free: 58.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/8.177, allocations: 0.5203 MB / 2.558 GB, free: 58.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/8.177, allocations: 25.25 kB / 2.558 GB, free: 58.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/8.18, allocations: 5.011 MB / 2.562 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/8.18, allocations: 0 / 2.562 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008302/8.188, allocations: 2.453 MB / 2.565 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/8.191, allocations: 0.5559 MB / 2.565 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/8.192, allocations: 3.844 kB / 2.565 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/8.194, allocations: 186.8 kB / 2.566 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/8.194, allocations: 83.81 kB / 2.566 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/8.194, allocations: 73.78 kB / 2.566 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003746/8.198, allocations: 1.836 MB / 2.568 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/8.198, allocations: 0 / 2.568 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00843/8.207, allocations: 1.805 MB / 2.569 GB, free: 53.78 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.01181/8.218, allocations: 5.175 MB / 2.574 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008024/8.226, allocations: 3.463 MB / 2.578 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/8.227, allocations: 0.7812 kB / 2.578 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/8.228, allocations: 0.724 MB / 2.578 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008501/8.237, allocations: 1.42 MB / 2.58 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/8.259, allocations: 5.361 MB / 2.585 GB, free: 50.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003794/8.263, allocations: 2.219 MB / 2.587 GB, free: 49.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.007332/8.271, allocations: 1.125 MB / 2.588 GB, free: 49.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003021/8.274, allocations: 1.461 MB / 2.59 GB, free: 49.92 MB / 0.7136 GB Notification: Performance of SimCode: time 1.824e-06/8.274, allocations: 0 / 2.59 GB, free: 49.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2225/8.496, allocations: 111.8 MB / 2.699 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/8.497, allocations: 178.8 kB / 2.699 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/15.02, allocations: 2.5 kB / 2.699 GB, free: 42.89 MB / 0.7136 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)