Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.7506/0.7506, allocations: 127.4 MB / 134.9 MB, free: 3.715 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.001487/0.001487, allocations: 176.9 kB / 164.6 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.659/1.659, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.0008369/0.0008369, allocations: 87.27 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.864e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.299/6.46, allocations: 2.414 GB / 3.036 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/6.461, allocations: 106.7 kB / 3.036 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.976/9.437, allocations: 0.8587 GB / 3.895 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.152e-06/9.437, allocations: 0 / 3.895 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002131/9.437, allocations: 55.3 kB / 3.895 GB, free: 9.152 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.005147/9.442, allocations: 2.421 MB / 3.897 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/9.442, allocations: 12.03 kB / 3.897 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/9.444, allocations: 384.3 kB / 3.898 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009928/9.454, allocations: 4.579 MB / 3.902 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/9.454, allocations: 51.33 kB / 3.902 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/9.454, allocations: 92 kB / 3.902 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002068/9.456, allocations: 1.169 MB / 3.903 GB, free: 480 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/9.459, allocations: 1.467 MB / 3.905 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/9.459, allocations: 0 / 3.905 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/9.459, allocations: 4 kB / 3.905 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.245e-05/9.459, allocations: 50.69 kB / 3.905 GB, free: 14.89 MB / 0.6667 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.01202/9.471, allocations: 6.656 MB / 3.911 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/9.473, allocations: 0.8254 MB / 3.912 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/9.473, allocations: 0.5347 MB / 3.913 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004896/9.474, allocations: 437.3 kB / 3.913 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/9.474, allocations: 51.22 kB / 3.913 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 4.649e-06/9.474, allocations: 0 / 3.913 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.007405/9.481, allocations: 2.642 MB / 3.916 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/9.482, allocations: 200.7 kB / 3.916 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/9.485, allocations: 1.53 MB / 3.917 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002654/9.485, allocations: 33.64 kB / 3.917 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/9.486, allocations: 0.9649 MB / 3.918 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/9.487, allocations: 272 kB / 3.919 GB, free: 308 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/9.487, allocations: 0 / 3.919 GB, free: 308 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.5443/10.03, allocations: 354.3 kB / 3.919 GB, free: 67.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/10.03, allocations: 0.5683 MB / 3.92 GB, free: 67.77 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/10.03, allocations: 0.8687 MB / 3.92 GB, free: 67.44 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/10.04, allocations: 2.141 MB / 3.922 GB, free: 67.14 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/10.04, allocations: 1.281 kB / 3.922 GB, free: 67.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003452/10.04, allocations: 1.59 MB / 3.924 GB, free: 67.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006435/10.04, allocations: 2.46 MB / 3.926 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/10.04, allocations: 6.094 kB / 3.926 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/10.04, allocations: 10.78 kB / 3.926 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/10.04, allocations: 201.5 kB / 3.927 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/10.04, allocations: 16.17 kB / 3.927 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/10.05, allocations: 110.5 kB / 3.927 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/10.05, allocations: 50.95 kB / 3.927 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/10.05, allocations: 7.469 kB / 3.927 GB, free: 64.54 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002504/10.05, allocations: 1.489 MB / 3.928 GB, free: 64.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/10.05, allocations: 6.031 kB / 3.928 GB, free: 64.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/10.05, allocations: 17.7 kB / 3.928 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/10.05, allocations: 186.2 kB / 3.928 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/10.05, allocations: 18.75 kB / 3.928 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/10.05, allocations: 87.81 kB / 3.929 GB, free: 64.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/10.05, allocations: 48.84 kB / 3.929 GB, free: 64.51 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003762/10.05, allocations: 227.5 kB / 3.929 GB, free: 64.31 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001893/10.05, allocations: 1.127 MB / 3.93 GB, free: 64.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/10.05, allocations: 185 kB / 3.93 GB, free: 64.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/10.06, allocations: 1.179 MB / 3.931 GB, free: 64.19 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/10.06, allocations: 10.56 kB / 3.931 GB, free: 64.19 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/10.06, allocations: 2.625 kB / 3.931 GB, free: 64.19 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/10.06, allocations: 1.292 MB / 3.933 GB, free: 63.74 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005344/10.06, allocations: 3.012 MB / 3.935 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/10.06, allocations: 3.062 kB / 3.935 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007981/10.06, allocations: 161.6 kB / 3.936 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/10.06, allocations: 6.625 kB / 3.936 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/10.06, allocations: 14.58 kB / 3.936 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.491e-05/10.06, allocations: 12.47 kB / 3.936 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/10.06, allocations: 10.11 kB / 3.936 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/10.07, allocations: 2.246 MB / 3.938 GB, free: 62.68 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/10.07, allocations: 417.3 kB / 3.938 GB, free: 62.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/10.07, allocations: 23.95 kB / 3.938 GB, free: 62.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/10.07, allocations: 89.47 kB / 3.938 GB, free: 62.49 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/10.07, allocations: 84.56 kB / 3.938 GB, free: 62.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/10.07, allocations: 43.16 kB / 3.938 GB, free: 62.49 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002793/10.07, allocations: 1.155 MB / 3.94 GB, free: 62.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.51e-07/10.07, allocations: 0 / 3.94 GB, free: 62.34 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004761/10.08, allocations: 0.9275 MB / 3.94 GB, free: 62.34 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008211/10.09, allocations: 5.931 MB / 3.946 GB, free: 59.88 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004351/10.09, allocations: 2.963 MB / 3.949 GB, free: 59.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/10.09, allocations: 3.75 kB / 3.949 GB, free: 59.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/10.09, allocations: 0.8556 MB / 3.95 GB, free: 58.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/10.1, allocations: 0.8606 MB / 3.951 GB, free: 58.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/10.1, allocations: 3.477 MB / 3.954 GB, free: 58.04 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/10.11, allocations: 1.584 MB / 3.956 GB, free: 57.31 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003026/10.11, allocations: 0.601 MB / 3.956 GB, free: 57.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/10.11, allocations: 0.763 MB / 3.957 GB, free: 57.29 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/10.11, allocations: 0 / 3.957 GB, free: 57.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/10.23, allocations: 66.25 MB / 4.022 GB, free: 54.04 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/10.23, allocations: 192.8 kB / 4.022 GB, free: 53.85 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/14.54, allocations: 0 / 4.022 GB, free: 53.85 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)