Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dpSystem.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.FlowControlled_dpSystem,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dpSystem,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dpSystem",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.7431/0.7431, 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.001178/0.001178, allocations: 191 kB / 164.7 MB, free: 6.516 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.903/1.903, allocations: 205.2 MB / 399.5 MB, free: 5.855 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.000938/0.000938, allocations: 90.8 kB / 476.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.446e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.172, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.93/6.103, allocations: 2.195 GB / 2.816 GB, free: 52.67 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/6.103, allocations: 96.56 kB / 2.816 GB, free: 52.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 12.15/18.25, allocations: 3.058 GB / 5.875 GB, free: 56.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.154e-06/18.25, allocations: 3.656 kB / 5.875 GB, free: 56.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0008797/18.26, allocations: 119.3 kB / 5.875 GB, free: 56.21 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 715 * Number of variables: 715 Notification: Performance of Generate backend data structure: time 0.02023/18.28, allocations: 4.698 MB / 5.88 GB, free: 54.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/18.28, allocations: 11.25 kB / 5.88 GB, free: 54.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/18.29, allocations: 1.511 MB / 5.881 GB, free: 53.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/18.3, allocations: 4.402 MB / 5.885 GB, free: 53.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/18.3, allocations: 90.38 kB / 5.885 GB, free: 53.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/18.31, allocations: 190.9 kB / 5.886 GB, free: 53.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005478/18.31, allocations: 2.428 MB / 5.888 GB, free: 53.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005427/18.32, allocations: 2.828 MB / 5.891 GB, free: 52.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/18.32, allocations: 6.562 kB / 5.891 GB, free: 52.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/18.32, allocations: 3.156 kB / 5.891 GB, free: 52.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/18.32, allocations: 104.3 kB / 5.891 GB, free: 52.79 MB / 0.7761 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.02578/18.34, allocations: 14.26 MB / 5.905 GB, free: 46.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/18.35, allocations: 1.759 MB / 5.906 GB, free: 46.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/18.35, allocations: 1.011 MB / 5.907 GB, free: 46.08 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/18.35, allocations: 234.2 kB / 5.908 GB, free: 45.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/18.35, allocations: 59.38 kB / 5.908 GB, free: 45.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003829/18.35, allocations: 0.5009 MB / 5.908 GB, free: 45.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=189): time 7.273e-06/18.35, allocations: 3.125 kB / 5.908 GB, free: 45.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=197): time 0.0253/18.38, allocations: 6.512 MB / 5.915 GB, free: 44.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/18.38, allocations: 73.16 kB / 5.915 GB, free: 44.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005959/18.38, allocations: 2.594 MB / 5.917 GB, free: 44.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0008817/18.38, allocations: 29.39 kB / 5.917 GB, free: 44.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/18.39, allocations: 1.951 MB / 5.919 GB, free: 43.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001288/18.39, allocations: 0.6501 MB / 5.92 GB, free: 43.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/18.39, allocations: 2.5 kB / 5.92 GB, free: 43.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001965/18.39, allocations: 396.2 kB / 5.92 GB, free: 42.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/18.39, allocations: 0.8222 MB / 5.921 GB, free: 42.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/18.39, allocations: 1.673 MB / 5.923 GB, free: 41.85 MB / 0.7761 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02048/18.41, allocations: 7.088 MB / 5.93 GB, free: 41.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/18.41, allocations: 5.5 kB / 5.93 GB, free: 41.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01456/18.43, allocations: 3.898 MB / 5.933 GB, free: 41.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00195/18.43, allocations: 7.442 MB / 5.941 GB, free: 33.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.278e-05/18.43, allocations: 17.34 kB / 5.941 GB, free: 33.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/18.43, allocations: 381.1 kB / 5.941 GB, free: 33.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/18.43, allocations: 0.5092 MB / 5.941 GB, free: 33.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/18.44, allocations: 4.818 MB / 5.946 GB, free: 29.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00594/18.44, allocations: 289.5 kB / 5.946 GB, free: 29.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007867/18.44, allocations: 123.6 kB / 5.947 GB, free: 29.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/18.44, allocations: 6.625 kB / 5.947 GB, free: 29.41 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006442/18.45, allocations: 2.293 MB / 5.949 GB, free: 29.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.914e-05/18.45, allocations: 16.09 kB / 5.949 GB, free: 29.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/18.45, allocations: 377.2 kB / 5.949 GB, free: 29.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/18.45, allocations: 0.4906 MB / 5.95 GB, free: 29.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/18.46, allocations: 7.442 MB / 5.957 GB, free: 22.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005607/18.47, allocations: 234.4 kB / 5.957 GB, free: 22.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009103/18.47, allocations: 111.2 kB / 5.957 GB, free: 22.9 MB / 0.7761 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 257 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001576/18.47, allocations: 183.4 kB / 5.957 GB, free: 22.79 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01298/18.48, allocations: 3.12 MB / 5.96 GB, free: 22.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/18.48, allocations: 382.9 kB / 5.961 GB, free: 22.27 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/18.5, allocations: 3.338 MB / 5.964 GB, free: 22.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/18.5, allocations: 23.2 kB / 5.964 GB, free: 22.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-05/18.5, allocations: 0.9062 kB / 5.964 GB, free: 22.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01127/18.51, allocations: 2.94 MB / 5.967 GB, free: 21.74 MB / 0.7761 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.02502/18.53, allocations: 6.813 MB / 5.974 GB, free: 20.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/18.53, allocations: 10.19 kB / 5.974 GB, free: 20.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/18.54, allocations: 439.7 kB / 5.974 GB, free: 20.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008845/18.54, allocations: 350 kB / 5.974 GB, free: 20.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005075/18.54, allocations: 41.52 kB / 5.974 GB, free: 20.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/18.56, allocations: 9.197 MB / 5.983 GB, free: 30.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/18.56, allocations: 19.48 kB / 5.983 GB, free: 30.57 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/18.57, allocations: 5.686 MB / 5.989 GB, free: 28.61 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003309/18.57, allocations: 0.6947 MB / 5.99 GB, free: 28.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/18.58, allocations: 15.75 kB / 5.99 GB, free: 28.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005105/18.58, allocations: 289.4 kB / 5.99 GB, free: 28.29 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007664/18.58, allocations: 168.1 kB / 5.99 GB, free: 28.28 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005278/18.58, allocations: 101.7 kB / 5.99 GB, free: 28.28 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.005402/18.59, allocations: 1.947 MB / 5.992 GB, free: 28.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.52e-07/18.59, allocations: 2.25 kB / 5.992 GB, free: 28.1 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01261/18.6, allocations: 2.239 MB / 5.994 GB, free: 28.06 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.03061/18.63, allocations: 16.46 MB / 6.01 GB, free: 19.79 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009912/18.64, allocations: 4.363 MB / 6.015 GB, free: 18.99 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/18.64, allocations: 0 / 6.015 GB, free: 18.99 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003709/18.64, allocations: 1.724 MB / 6.016 GB, free: 18.46 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01185/18.66, allocations: 1.941 MB / 6.018 GB, free: 18.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/18.68, allocations: 7.261 MB / 6.025 GB, free: 16.25 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003665/18.68, allocations: 2.603 MB / 6.028 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.009523/18.69, allocations: 1.44 MB / 6.029 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003589/18.7, allocations: 1.734 MB / 6.031 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of SimCode: time 9.32e-07/18.7, allocations: 0 / 6.031 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9504/19.65, allocations: 157 MB / 6.184 GB, free: 78.09 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/19.65, allocations: 189.1 kB / 6.185 GB, free: 77.89 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.64/28.29, allocations: 0 / 6.185 GB, free: 77.89 MB / 0.8073 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dpSystem_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_FlowControlled_dpSystem.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)