Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009305/0.0009305, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009541/0.0009541, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9841/0.9841, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.972/1.972, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7751 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.178e-05, allocations: 2.844 kB / 0.7751 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1449/0.145, allocations: 160.4 MB / 0.9318 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1559, allocations: 8.51 MB / 0.9401 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.157, allocations: 91.25 kB / 0.9402 GB, free: 11.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.1583, allocations: 0.7803 MB / 0.941 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.1618, allocations: 2.394 MB / 0.9433 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.164, allocations: 1.521 MB / 0.9448 GB, free: 7.277 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.1668, allocations: 4.152 MB / 0.9488 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009684/0.1678, allocations: 1.162 MB / 0.95 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.1699, allocations: 2.191 MB / 0.9521 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.1709, allocations: 1.16 MB / 0.9532 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.1711, allocations: 172 kB / 0.9534 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.1725, allocations: 1.29 MB / 0.9547 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.173, allocations: 1.024 MB / 0.9557 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.1737, allocations: 0.8651 MB / 0.9565 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.1758, allocations: 2.729 MB / 0.9592 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1758, allocations: 0 / 0.9592 GB, free: 8.477 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1758, allocations: 4 kB / 0.9592 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.1758, allocations: 0 / 0.9592 GB, free: 8.473 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002637/0.1785, allocations: 2.897 MB / 0.962 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1785, allocations: 13.34 kB / 0.962 GB, free: 5.508 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.18, allocations: 0.702 MB / 0.9627 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.1815, allocations: 1.473 MB / 0.9641 GB, free: 3.258 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1816, allocations: 153.5 kB / 0.9643 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.1817, allocations: 111.9 kB / 0.9644 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1827, allocations: 1.143 MB / 0.9655 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1828, allocations: 3.984 kB / 0.9655 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.1828, allocations: 44 kB / 0.9656 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.1829, allocations: 42.06 kB / 0.9656 GB, free: 1.637 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.1835, allocations: 0.5245 MB / 0.9661 GB, free: 1.078 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003723/0.1872, allocations: 3.595 MB / 0.9696 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/0.188, allocations: 0.553 MB / 0.9702 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.1883, allocations: 297.6 kB / 0.9704 GB, free: 12.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.1885, allocations: 120.5 kB / 0.9706 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/0.1889, allocations: 0.5409 MB / 0.9711 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=89): time 2.024e-06/0.1889, allocations: 0 / 0.9711 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=89): time 0.004723/0.1937, allocations: 2.193 MB / 0.9732 GB, free: 9.543 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1937, allocations: 149.1 kB / 0.9734 GB, free: 9.367 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.1951, allocations: 2 MB / 0.9753 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.1952, allocations: 45.7 kB / 0.9754 GB, free: 7.289 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.1955, allocations: 0.6318 MB / 0.976 GB, free: 6.645 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1956, allocations: 309.4 kB / 0.9763 GB, free: 6.34 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.1959, allocations: 202.4 kB / 0.9765 GB, free: 6.137 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.1959, allocations: 345.9 kB / 0.9768 GB, free: 5.793 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.1963, allocations: 240.5 kB / 0.977 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.1968, allocations: 0.6671 MB / 0.9777 GB, free: 4.734 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.1975, allocations: 0.7268 MB / 0.9784 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.1976, allocations: 8 kB / 0.9784 GB, free: 3.914 MB / 0.9323 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001205/0.1988, allocations: 0.9271 MB / 0.9793 GB, free: 2.945 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.1988, allocations: 79.33 kB / 0.9794 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1988, allocations: 4 kB / 0.9794 GB, free: 2.852 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.1999, allocations: 0.5548 MB / 0.9799 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.2004, allocations: 179.7 kB / 0.9801 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.2017, allocations: 2.093 MB / 0.9821 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.2023, allocations: 159.3 kB / 0.9823 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.2024, allocations: 39.97 kB / 0.9823 GB, free: 15.71 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 85 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0003258/0.2027, allocations: 239.9 kB / 0.9826 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.2029, allocations: 159.8 kB / 0.9827 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.2043, allocations: 1.004 MB / 0.9837 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.2043, allocations: 16 kB / 0.9837 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2043, allocations: 0 / 0.9837 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2043, allocations: 3.984 kB / 0.9837 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.207, allocations: 2.187 MB / 0.9858 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.207, allocations: 3.938 kB / 0.9859 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.2073, allocations: 107.9 kB / 0.986 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009581/0.2083, allocations: 0.6447 MB / 0.9866 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.2083, allocations: 31.97 kB / 0.9866 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.2095, allocations: 2.089 MB / 0.9887 GB, free: 8.949 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2095, allocations: 4 kB / 0.9887 GB, free: 8.945 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.2107, allocations: 1.108 MB / 0.9897 GB, free: 7.734 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.2111, allocations: 294.2 kB / 0.99 GB, free: 7.445 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.2113, allocations: 24 kB / 0.99 GB, free: 7.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.2118, allocations: 71.94 kB / 0.9901 GB, free: 7.352 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.2119, allocations: 76.41 kB / 0.9902 GB, free: 7.277 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.2119, allocations: 31.97 kB / 0.9902 GB, free: 7.246 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007865/0.2127, allocations: 1.07 MB / 0.9913 GB, free: 6.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.2127, allocations: 0 / 0.9913 GB, free: 6.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001086/0.2138, allocations: 0.6824 MB / 0.9919 GB, free: 5.477 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005259/0.2143, allocations: 378.3 kB / 0.9923 GB, free: 5.098 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.2154, allocations: 0.9667 MB / 0.9932 GB, free: 4.074 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/0.2154, allocations: 24 kB / 0.9933 GB, free: 4.051 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.216, allocations: 0.6007 MB / 0.9938 GB, free: 3.398 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.2176, allocations: 0.8219 MB / 0.9946 GB, free: 2.582 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.2219, allocations: 3.806 MB / 0.9984 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2223, allocations: 494 kB / 0.9988 GB, free: 14.16 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0006026/0.2229, allocations: 275.3 kB / 0.9991 GB, free: 13.89 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.224, allocations: 0.6552 MB / 0.9997 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of SimCode: time 1.303e-06/0.224, allocations: 0 / 0.9997 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of Templates: time 0.04524/0.2693, allocations: 44.01 MB / 1.043 GB, free: 2.246 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.192407478112727]