Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 102 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7941/0.7941, allocations: 126.1 MB / 417.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.4949 GB, free: 3.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4328, allocations: 78.71 MB / 0.5718 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0527/0.4855, allocations: 61.14 MB / 0.6315 GB, free: 9.426 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01699/0.5026, allocations: 12 MB / 0.6432 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002605/0.5052, allocations: 55.69 kB / 0.6433 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.5073, allocations: 0.6908 MB / 0.644 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005959/0.5134, allocations: 1.959 MB / 0.6459 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.5169, allocations: 1.198 MB / 0.647 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005039/0.5219, allocations: 3.071 MB / 0.65 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.5236, allocations: 1.102 MB / 0.6511 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.5268, allocations: 1.326 MB / 0.6524 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.5282, allocations: 0.9022 MB / 0.6533 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.5284, allocations: 116 kB / 0.6534 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.5316, allocations: 1.435 MB / 0.6548 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.5319, allocations: 286.8 kB / 0.6551 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009282/0.5329, allocations: 0.6958 MB / 0.6558 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0042/0.5371, allocations: 2.259 MB / 0.658 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.5371, allocations: 8 kB / 0.658 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5371, allocations: 0 / 0.658 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.5371, allocations: 0 / 0.658 GB, free: 14.24 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00317/0.5403, allocations: 1.711 MB / 0.6596 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5404, allocations: 12.03 kB / 0.6597 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.5426, allocations: 406.8 kB / 0.66 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.5446, allocations: 1.104 MB / 0.6611 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/0.545, allocations: 117.9 kB / 0.6612 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5451, allocations: 83.94 kB / 0.6613 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.5472, allocations: 1.005 MB / 0.6623 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.5472, allocations: 11.92 kB / 0.6623 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.5473, allocations: 32 kB / 0.6623 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.5473, allocations: 16 kB / 0.6624 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/0.5496, allocations: 0.8703 MB / 0.6632 GB, free: 8.699 MB / 0.4981 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.00643/0.5561, allocations: 5.26 MB / 0.6683 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.5595, allocations: 0.8006 MB / 0.6691 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007593/0.5603, allocations: 310.7 kB / 0.6694 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008308/0.5611, allocations: 0.8986 MB / 0.6703 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.5612, allocations: 34.56 kB / 0.6703 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.696e-06/0.5612, allocations: 0 / 0.6703 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008826/0.57, allocations: 1.918 MB / 0.6722 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.5701, allocations: 59.41 kB / 0.6723 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.5718, allocations: 1.076 MB / 0.6733 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.5718, allocations: 33.7 kB / 0.6733 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.5723, allocations: 0.5311 MB / 0.6739 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.5724, allocations: 149.8 kB / 0.674 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.5727, allocations: 138.2 kB / 0.6741 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5728, allocations: 322 kB / 0.6744 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/0.5737, allocations: 315.2 kB / 0.6747 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.5748, allocations: 0.5461 MB / 0.6753 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.5766, allocations: 0.7291 MB / 0.676 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.914e-05/0.5767, allocations: 4 kB / 0.676 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002722/0.5794, allocations: 1.016 MB / 0.677 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5794, allocations: 8 kB / 0.677 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5795, allocations: 4 kB / 0.677 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.5808, allocations: 328.6 kB / 0.6773 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.5813, allocations: 123.8 kB / 0.6774 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.5829, allocations: 0.9201 MB / 0.6783 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.5841, allocations: 155.2 kB / 0.6785 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.5842, allocations: 36.06 kB / 0.6785 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001205/0.5854, allocations: 0.5129 MB / 0.679 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001101/0.5865, allocations: 0.5385 MB / 0.6795 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001639/0.5881, allocations: 0.7219 MB / 0.6802 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.5882, allocations: 3.938 kB / 0.6802 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002679/0.5908, allocations: 1.023 MB / 0.6812 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.5909, allocations: 8 kB / 0.6812 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5909, allocations: 4 kB / 0.6813 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.592, allocations: 314.1 kB / 0.6816 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.5925, allocations: 127.8 kB / 0.6817 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.594, allocations: 0.9079 MB / 0.6826 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5952, allocations: 135.6 kB / 0.6827 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/0.5953, allocations: 35.92 kB / 0.6827 GB, free: 3.602 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.5955, allocations: 220.1 kB / 0.6829 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.5957, allocations: 118.6 kB / 0.683 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/0.5995, allocations: 1.098 MB / 0.6841 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5995, allocations: 7.984 kB / 0.6841 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5995, allocations: 0 / 0.6841 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5995, allocations: 4 kB / 0.6841 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005017/0.6045, allocations: 2.162 MB / 0.6862 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.6046, allocations: 7.938 kB / 0.6863 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.6048, allocations: 63.89 kB / 0.6863 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.6059, allocations: 300.8 kB / 0.6866 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.6059, allocations: 11.98 kB / 0.6866 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.6074, allocations: 0.9509 MB / 0.6875 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6074, allocations: 8 kB / 0.6875 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.611, allocations: 1.164 MB / 0.6887 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004626/0.6115, allocations: 267.5 kB / 0.6889 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6116, allocations: 12 kB / 0.6889 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/0.6124, allocations: 79.91 kB / 0.689 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.6125, allocations: 39.83 kB / 0.6891 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.6126, allocations: 19.98 kB / 0.6891 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001146/0.6137, allocations: 0.7551 MB / 0.6898 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6137, allocations: 0 / 0.6898 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001533/0.6153, allocations: 0.5692 MB / 0.6904 GB, free: 11.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007116/0.616, allocations: 376.9 kB / 0.6907 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.6193, allocations: 1.156 MB / 0.6919 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6193, allocations: 0 / 0.6919 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/0.6202, allocations: 350.3 kB / 0.6922 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.6224, allocations: 0.5055 MB / 0.6927 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.6273, allocations: 2.046 MB / 0.6947 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.6279, allocations: 1.061 MB / 0.6957 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008775/0.6288, allocations: 225.2 kB / 0.6959 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.629, allocations: 79.42 kB / 0.696 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.629, allocations: 0 / 0.696 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of Templates: time 0.04012/0.6691, allocations: 24.95 MB / 0.7204 GB, free: 13.08 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)