Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006674/0.006674, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001486/0.001486, allocations: 194.8 kB / 16.68 MB, free: 5.523 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8346/0.8346, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.62 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 80.93 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06337/0.2327, allocations: 61.19 MB / 0.7244 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01635/0.2491, allocations: 11.98 MB / 0.7361 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.251, allocations: 59.69 kB / 0.7362 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/0.2533, allocations: 0.6752 MB / 0.7368 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006538/0.2598, allocations: 1.963 MB / 0.7387 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.264, allocations: 1.204 MB / 0.7399 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005498/0.2695, allocations: 3.095 MB / 0.7429 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.2718, allocations: 1.131 MB / 0.744 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.2756, allocations: 1.323 MB / 0.7453 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.2778, allocations: 0.9256 MB / 0.7462 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004687/0.2783, allocations: 120 kB / 0.7463 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/0.2823, allocations: 1.439 MB / 0.7478 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.2828, allocations: 294.9 kB / 0.748 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3386/0.6214, allocations: 0.6969 MB / 0.7487 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0054/0.6269, allocations: 2.349 MB / 0.751 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6269, allocations: 1.562 kB / 0.751 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6269, allocations: 0 / 0.751 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.85e-05/0.627, allocations: 4.75 kB / 0.751 GB, free: 23.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003621/0.6306, allocations: 1.782 MB / 0.7528 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6307, allocations: 14.23 kB / 0.7528 GB, free: 22.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.6332, allocations: 467.7 kB / 0.7532 GB, free: 22.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.6354, allocations: 1.174 MB / 0.7544 GB, free: 21.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.6355, allocations: 62.8 kB / 0.7544 GB, free: 21.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.6356, allocations: 81.12 kB / 0.7545 GB, free: 21.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.6379, allocations: 1.004 MB / 0.7555 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.6379, allocations: 0.7188 kB / 0.7555 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.638, allocations: 32.91 kB / 0.7555 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.638, allocations: 23.56 kB / 0.7555 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/0.6407, allocations: 0.9382 MB / 0.7564 GB, free: 21.66 MB / 0.5762 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.006499/0.6472, allocations: 4.672 MB / 0.761 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.6517, allocations: 0.9957 MB / 0.762 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.6529, allocations: 409.6 kB / 0.7624 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009029/0.6538, allocations: 1.013 MB / 0.7634 GB, free: 18.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.6539, allocations: 42.89 kB / 0.7634 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.6539, allocations: 2.719 kB / 0.7634 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009607/0.6635, allocations: 2.164 MB / 0.7655 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.6636, allocations: 57.5 kB / 0.7656 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.6652, allocations: 0.9568 MB / 0.7665 GB, free: 17.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.6654, allocations: 39.17 kB / 0.7665 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.6657, allocations: 0.5036 MB / 0.767 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.6659, allocations: 199.2 kB / 0.7672 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.6662, allocations: 129.1 kB / 0.7674 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.6663, allocations: 329.3 kB / 0.7677 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.6674, allocations: 357.5 kB / 0.768 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.6687, allocations: 0.5111 MB / 0.7685 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.6711, allocations: 0.7494 MB / 0.7692 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.6711, allocations: 3.047 kB / 0.7692 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003413/0.6745, allocations: 1.062 MB / 0.7703 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.6746, allocations: 13.81 kB / 0.7703 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6746, allocations: 2.375 kB / 0.7703 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.6759, allocations: 292.5 kB / 0.7706 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.6766, allocations: 136.6 kB / 0.7707 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.6779, allocations: 0.8993 MB / 0.7716 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6791, allocations: 122.9 kB / 0.7717 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.6792, allocations: 30.25 kB / 0.7717 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001418/0.6807, allocations: 0.5551 MB / 0.7723 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/0.6818, allocations: 0.5101 MB / 0.7728 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001897/0.6837, allocations: 0.7501 MB / 0.7735 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.524e-06/0.6837, allocations: 1.062 kB / 0.7735 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002872/0.6866, allocations: 1.048 MB / 0.7745 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6866, allocations: 6.969 kB / 0.7745 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.453e-06/0.6866, allocations: 3.125 kB / 0.7745 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.6877, allocations: 307.5 kB / 0.7748 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.6883, allocations: 134.4 kB / 0.775 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.6896, allocations: 0.8932 MB / 0.7758 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6907, allocations: 113.5 kB / 0.7759 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.6908, allocations: 30.73 kB / 0.776 GB, free: 14.75 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002519/0.6911, allocations: 212.5 kB / 0.7762 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.6913, allocations: 117.6 kB / 0.7763 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/0.6957, allocations: 1.305 MB / 0.7776 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.6958, allocations: 6.406 kB / 0.7776 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6958, allocations: 0 / 0.7776 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6958, allocations: 6.906 kB / 0.7776 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/0.7018, allocations: 2.411 MB / 0.7799 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.7018, allocations: 5 kB / 0.7799 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.7023, allocations: 109.1 kB / 0.78 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000962/0.7033, allocations: 295.3 kB / 0.7803 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.7034, allocations: 16.09 kB / 0.7803 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.7046, allocations: 0.9193 MB / 0.7812 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7046, allocations: 2.531 kB / 0.7812 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.7086, allocations: 1.338 MB / 0.7825 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.7092, allocations: 284.3 kB / 0.7828 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.7093, allocations: 11.38 kB / 0.7828 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/0.7102, allocations: 75.7 kB / 0.7829 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.7103, allocations: 45.12 kB / 0.7829 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/0.7104, allocations: 26.98 kB / 0.783 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009439/0.7113, allocations: 0.6672 MB / 0.7836 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7113, allocations: 0 / 0.7836 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001735/0.7131, allocations: 0.5748 MB / 0.7842 GB, free: 12.74 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008764/0.714, allocations: 393.8 kB / 0.7845 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003645/0.7176, allocations: 1.304 MB / 0.7858 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7176, allocations: 0 / 0.7858 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.7188, allocations: 456.5 kB / 0.7863 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.7212, allocations: 495.9 kB / 0.7867 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.7246, allocations: 1.924 MB / 0.7886 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.7251, allocations: 1.067 MB / 0.7896 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008945/0.726, allocations: 229.2 kB / 0.7899 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.7262, allocations: 82.03 kB / 0.7899 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/0.7262, allocations: 0 / 0.7899 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.03714/0.7634, allocations: 24.87 MB / 0.8142 GB, free: 10.05 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)