Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008514/0.0008514, allocations: 184.3 kB / 16.08 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4445/0.4445, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 225.7 MB / 353.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008047/0.0008048, allocations: 93.03 kB / 425.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 12 kB / 0.4955 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2597, allocations: 71.33 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04299/0.3028, allocations: 60.83 MB / 0.6246 GB, free: 12.42 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.3197, allocations: 16.65 MB / 0.6409 GB, free: 10.51 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.3212, allocations: 51.62 kB / 0.6409 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.3228, allocations: 0.5399 MB / 0.6414 GB, free: 9.914 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004228/0.327, allocations: 1.796 MB / 0.6432 GB, free: 8.109 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.3297, allocations: 1.1 MB / 0.6443 GB, free: 7.008 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.3337, allocations: 3.902 MB / 0.6481 GB, free: 3.094 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.3351, allocations: 0.902 MB / 0.649 GB, free: 2.16 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.3372, allocations: 1.155 MB / 0.6501 GB, free: 1 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.3385, allocations: 0.8474 MB / 0.6509 GB, free: 152 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.3387, allocations: 44 kB / 0.6509 GB, free: 108 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.3412, allocations: 1.283 MB / 0.6522 GB, free: 14.82 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.3415, allocations: 202.8 kB / 0.6524 GB, free: 14.62 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008666/0.3424, allocations: 0.6311 MB / 0.653 GB, free: 13.98 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.3454, allocations: 2.191 MB / 0.6552 GB, free: 11.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3454, allocations: 4 kB / 0.6552 GB, free: 11.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3455, allocations: 0 / 0.6552 GB, free: 11.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.793e-05/0.3455, allocations: 3.938 kB / 0.6552 GB, free: 11.78 MB / 474.7 MB 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.00286/0.3484, allocations: 1.489 MB / 0.6566 GB, free: 10.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3484, allocations: 8.031 kB / 0.6566 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.3505, allocations: 470.8 kB / 0.6571 GB, free: 9.762 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.3526, allocations: 1.128 MB / 0.6582 GB, free: 8.574 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.353, allocations: 137.9 kB / 0.6583 GB, free: 8.441 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3531, allocations: 83.94 kB / 0.6584 GB, free: 8.359 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.3551, allocations: 0.9934 MB / 0.6594 GB, free: 7.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3551, allocations: 4 kB / 0.6594 GB, free: 7.316 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.3552, allocations: 36 kB / 0.6594 GB, free: 7.281 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3552, allocations: 16 kB / 0.6594 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.3574, allocations: 0.9172 MB / 0.6603 GB, free: 6.352 MB / 474.7 MB 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.005929/0.3633, allocations: 4.89 MB / 0.6651 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.3665, allocations: 0.9014 MB / 0.666 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.3672, allocations: 316.7 kB / 0.6663 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005845/0.3678, allocations: 0.9064 MB / 0.6671 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3678, allocations: 42.5 kB / 0.6672 GB, free: 14.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.3678, allocations: 0 / 0.6672 GB, free: 14.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.00768/0.3755, allocations: 2.16 MB / 0.6693 GB, free: 12.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.3755, allocations: 59.36 kB / 0.6694 GB, free: 12.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.377, allocations: 1.044 MB / 0.6704 GB, free: 11.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.377, allocations: 37.7 kB / 0.6704 GB, free: 11.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.3774, allocations: 0.5235 MB / 0.6709 GB, free: 10.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.3775, allocations: 149.8 kB / 0.6711 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.3776, allocations: 8 kB / 0.6711 GB, free: 10.67 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3777, allocations: 330 kB / 0.6714 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00082/0.3785, allocations: 328.9 kB / 0.6717 GB, free: 10.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/0.3795, allocations: 0.5298 MB / 0.6722 GB, free: 9.402 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.3813, allocations: 0.7315 MB / 0.6729 GB, free: 8.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3814, allocations: 0 / 0.6729 GB, free: 8.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003389/0.3848, allocations: 1.231 MB / 0.6741 GB, free: 7.371 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.3849, allocations: 209.3 kB / 0.6743 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.3849, allocations: 4 kB / 0.6743 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.3861, allocations: 336.6 kB / 0.6747 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.3866, allocations: 119.9 kB / 0.6748 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.388, allocations: 0.9505 MB / 0.6757 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.3892, allocations: 191.3 kB / 0.6759 GB, free: 5.488 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.3893, allocations: 27.98 kB / 0.6759 GB, free: 5.461 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3893, allocations: 8 kB / 0.6759 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003045/0.3924, allocations: 1.089 MB / 0.677 GB, free: 4.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3924, allocations: 4 kB / 0.677 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009914/0.3934, allocations: 325.1 kB / 0.6773 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.3939, allocations: 131.8 kB / 0.6774 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.3952, allocations: 0.9347 MB / 0.6783 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.3964, allocations: 171.4 kB / 0.6785 GB, free: 2.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.3964, allocations: 27.98 kB / 0.6785 GB, free: 2.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0005231/0.397, allocations: 356.9 kB / 0.6789 GB, free: 2.391 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.3972, allocations: 110.6 kB / 0.679 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.4009, allocations: 1.199 MB / 0.6801 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.4009, allocations: 4 kB / 0.6801 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4009, allocations: 0 / 0.6801 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.401, allocations: 3.984 kB / 0.6801 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.4058, allocations: 2.258 MB / 0.6824 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4058, allocations: 3.938 kB / 0.6824 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.4061, allocations: 67.89 kB / 0.6824 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009723/0.407, allocations: 324.7 kB / 0.6827 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.4071, allocations: 16 kB / 0.6827 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.4084, allocations: 0.962 MB / 0.6837 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4084, allocations: 4.031 kB / 0.6837 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.4117, allocations: 1.253 MB / 0.6849 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.4122, allocations: 279.5 kB / 0.6852 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.4123, allocations: 8 kB / 0.6852 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/0.4132, allocations: 119.8 kB / 0.6853 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.4133, allocations: 43.77 kB / 0.6853 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.4134, allocations: 23.98 kB / 0.6854 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001152/0.4145, allocations: 0.7391 MB / 0.6861 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4145, allocations: 0 / 0.6861 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001476/0.416, allocations: 0.5613 MB / 0.6866 GB, free: 10.23 MB / 0.4948 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.0007461/0.4168, allocations: 397.4 kB / 0.687 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002935/0.4197, allocations: 1.153 MB / 0.6881 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.4197, allocations: 4 kB / 0.6881 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008685/0.4206, allocations: 382.8 kB / 0.6885 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.4233, allocations: 0.5107 MB / 0.689 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/0.4285, allocations: 2.529 MB / 0.6915 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.4291, allocations: 1.062 MB / 0.6925 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008848/0.43, allocations: 228.5 kB / 0.6927 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.4302, allocations: 79.42 kB / 0.6928 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.4302, allocations: 4 kB / 0.6928 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of Templates: time 0.2266/0.6568, allocations: 24.08 MB / 0.7163 GB, free: 142.7 MB / 0.5105 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)