Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8036/0.8036, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 172.9 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009614/0.0009613, allocations: 84.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 275.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.558e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4304, allocations: 82.76 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8172/1.248, allocations: 398.5 MB / 1.147 GB, free: 15.05 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.248, allocations: 90.83 kB / 1.147 GB, free: 15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.803/7.051, allocations: 1.511 GB / 2.658 GB, free: 64.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.254e-06/7.051, allocations: 3.188 kB / 2.658 GB, free: 64.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000514/7.052, allocations: 95.53 kB / 2.658 GB, free: 64.38 MB / 0.7448 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.009993/7.062, allocations: 3.58 MB / 2.662 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/7.062, allocations: 13.69 kB / 2.662 GB, free: 62.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/7.068, allocations: 1.11 MB / 2.663 GB, free: 62.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05619/7.125, allocations: 27.91 MB / 2.69 GB, free: 60.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/7.125, allocations: 72.28 kB / 2.69 GB, free: 60.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000836/7.126, allocations: 144.5 kB / 2.69 GB, free: 60.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003782/7.13, allocations: 1.774 MB / 2.692 GB, free: 60.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/7.133, allocations: 2.157 MB / 2.694 GB, free: 60.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/7.133, allocations: 5.797 kB / 2.694 GB, free: 60.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/7.133, allocations: 3.906 kB / 2.694 GB, free: 60.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/7.133, allocations: 50.59 kB / 2.694 GB, free: 60.39 MB / 0.7448 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.01497/7.148, allocations: 11.6 MB / 2.705 GB, free: 54.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/7.151, allocations: 1.716 MB / 2.707 GB, free: 54.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008243/7.151, allocations: 0.7101 MB / 2.708 GB, free: 54.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006217/7.158, allocations: 3.684 MB / 2.711 GB, free: 52.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/7.158, allocations: 48.53 kB / 2.711 GB, free: 52.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001387/7.159, allocations: 172.8 kB / 2.711 GB, free: 52.58 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=116): time 4.318e-06/7.159, allocations: 0 / 2.711 GB, free: 52.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=116): time 0.006687/7.166, allocations: 2.414 MB / 2.714 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/7.166, allocations: 65.34 kB / 2.714 GB, free: 52.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003886/7.17, allocations: 2.425 MB / 2.716 GB, free: 51.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003247/7.17, allocations: 29.14 kB / 2.716 GB, free: 51.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001307/7.171, allocations: 1.713 MB / 2.718 GB, free: 51.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/7.172, allocations: 384.2 kB / 2.718 GB, free: 51.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/7.172, allocations: 2.594 kB / 2.718 GB, free: 51.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001232/7.172, allocations: 380.4 kB / 2.719 GB, free: 50.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009735/7.173, allocations: 0.6856 MB / 2.719 GB, free: 50.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/7.174, allocations: 1.413 MB / 2.721 GB, free: 49.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/7.177, allocations: 1.077 MB / 2.722 GB, free: 49.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/7.177, allocations: 3.688 kB / 2.722 GB, free: 49.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.00749/7.185, allocations: 2.937 MB / 2.725 GB, free: 49.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.00148/7.186, allocations: 7.599 MB / 2.732 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/7.186, allocations: 24.92 kB / 2.732 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/7.188, allocations: 0.7012 MB / 2.733 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/7.19, allocations: 382.4 kB / 2.733 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/7.193, allocations: 5.422 MB / 2.738 GB, free: 36.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003172/7.196, allocations: 180.6 kB / 2.739 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/7.197, allocations: 151.7 kB / 2.739 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/7.197, allocations: 4.719 kB / 2.739 GB, free: 36.58 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006234/7.203, allocations: 2.352 MB / 2.741 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-05/7.203, allocations: 18.88 kB / 2.741 GB, free: 35.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/7.205, allocations: 0.8062 MB / 2.742 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/7.207, allocations: 350.8 kB / 2.742 GB, free: 35.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01329/7.22, allocations: 12.11 MB / 2.754 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/7.223, allocations: 168.8 kB / 2.754 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/7.224, allocations: 131.7 kB / 2.754 GB, free: 26.09 MB / 0.7448 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 (184): * Single equations (assignments): 172 * 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.0007254/7.224, allocations: 187.1 kB / 2.755 GB, free: 25.93 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006858/7.231, allocations: 2.109 MB / 2.757 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009402/7.232, allocations: 328.2 kB / 2.757 GB, free: 24.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006353/7.238, allocations: 2.532 MB / 2.759 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/7.239, allocations: 21.05 kB / 2.759 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/7.239, allocations: 0 / 2.759 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/7.239, allocations: 7.219 kB / 2.759 GB, free: 24.09 MB / 0.7448 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.009846/7.248, allocations: 4.435 MB / 2.764 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/7.248, allocations: 2.125 kB / 2.764 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/7.249, allocations: 202.3 kB / 2.764 GB, free: 22.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009619/7.25, allocations: 496.2 kB / 2.764 GB, free: 22.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/7.251, allocations: 31.5 kB / 2.764 GB, free: 22.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003496/7.254, allocations: 4.94 MB / 2.769 GB, free: 33.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/7.254, allocations: 192 / 2.769 GB, free: 33.57 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005724/7.26, allocations: 2.414 MB / 2.772 GB, free: 32.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/7.261, allocations: 0.5616 MB / 2.772 GB, free: 32.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/7.262, allocations: 3.953 kB / 2.772 GB, free: 32.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/7.264, allocations: 188.1 kB / 2.772 GB, free: 32.05 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/7.264, allocations: 87.62 kB / 2.772 GB, free: 32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/7.264, allocations: 76.92 kB / 2.772 GB, free: 31.94 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002682/7.267, allocations: 1.801 MB / 2.774 GB, free: 30.35 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/7.267, allocations: 0 / 2.774 GB, free: 30.35 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007017/7.274, allocations: 1.861 MB / 2.776 GB, free: 28.52 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008621/7.282, allocations: 5.014 MB / 2.781 GB, free: 23.99 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00588/7.288, allocations: 3.491 MB / 2.784 GB, free: 20.74 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/7.288, allocations: 0.6875 kB / 2.784 GB, free: 20.74 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/7.289, allocations: 0.7763 MB / 2.785 GB, free: 20.04 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006679/7.296, allocations: 1.422 MB / 2.787 GB, free: 18.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009868/7.306, allocations: 5.006 MB / 2.791 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/7.308, allocations: 2.235 MB / 2.794 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004814/7.313, allocations: 1.133 MB / 2.795 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/7.314, allocations: 1.495 MB / 2.796 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of SimCode: time 8.32e-07/7.314, allocations: 0 / 2.796 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6538/7.968, allocations: 110.4 MB / 2.904 GB, free: 71.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/7.968, allocations: 189.9 kB / 2.904 GB, free: 71.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.197/14.17, allocations: 0 / 2.904 GB, free: 71.3 MB / 0.7605 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveConstruction.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)