Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002148/0.002148, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.9/1.9, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.194/1.194, allocations: 132.2 MB / 423.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004943, allocations: 11.94 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6959, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06635/0.7623, allocations: 51.32 MB / 0.6331 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.7807, allocations: 10.3 MB / 0.6431 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.7834, allocations: 47.69 kB / 0.6432 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.7865, allocations: 0.6219 MB / 0.6438 GB, free: 2.207 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008202/0.7947, allocations: 1.95 MB / 0.6457 GB, free: 260 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.7991, allocations: 1.308 MB / 0.647 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.8032, allocations: 1.846 MB / 0.6488 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.8048, allocations: 0.8173 MB / 0.6496 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.8071, allocations: 0.9808 MB / 0.6505 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008743/0.8079, allocations: 0.5988 MB / 0.6511 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.8081, allocations: 44 kB / 0.6512 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002458/0.8105, allocations: 1.006 MB / 0.6521 GB, free: 9.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.8108, allocations: 195.1 kB / 0.6523 GB, free: 9.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.8111, allocations: 289 kB / 0.6526 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.8129, allocations: 1.59 MB / 0.6541 GB, free: 7.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.8129, allocations: 0 / 0.6541 GB, free: 7.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8129, allocations: 0 / 0.6541 GB, free: 7.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.813, allocations: 0 / 0.6541 GB, free: 7.57 MB / 494.1 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.002759/0.8157, allocations: 1.485 MB / 0.6556 GB, free: 6.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.8158, allocations: 11.97 kB / 0.6556 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.8159, allocations: 118.7 kB / 0.6557 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.818, allocations: 473.9 kB / 0.6562 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.8199, allocations: 1.055 MB / 0.6572 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.8203, allocations: 125.9 kB / 0.6573 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.8204, allocations: 84 kB / 0.6574 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.8236, allocations: 0.9973 MB / 0.6584 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.8236, allocations: 3.938 kB / 0.6584 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.8238, allocations: 32 kB / 0.6584 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.8238, allocations: 20 kB / 0.6584 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004348/0.8282, allocations: 0.9133 MB / 0.6593 GB, free: 2.098 MB / 494.1 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.01215/0.8403, allocations: 4.934 MB / 0.6641 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006076/0.8465, allocations: 0.9062 MB / 0.665 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.8477, allocations: 0.9064 MB / 0.6659 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.8478, allocations: 42.5 kB / 0.666 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 4.198e-06/0.8478, allocations: 0 / 0.666 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.01622/0.8641, allocations: 2.158 MB / 0.6681 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.8642, allocations: 55.41 kB / 0.6681 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.8672, allocations: 1.063 MB / 0.6692 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.8674, allocations: 37.7 kB / 0.6692 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007696/0.8682, allocations: 0.5158 MB / 0.6697 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.8684, allocations: 161.6 kB / 0.6698 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.8685, allocations: 8 kB / 0.6699 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.8688, allocations: 330 kB / 0.6702 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.8705, allocations: 320.9 kB / 0.6705 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.8725, allocations: 0.5184 MB / 0.671 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.8743, allocations: 363.5 kB / 0.6713 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.8743, allocations: 0 / 0.6713 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005317/0.8796, allocations: 1.032 MB / 0.6723 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009792/0.8806, allocations: 1.587 MB / 0.6739 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.8807, allocations: 4 kB / 0.6739 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/0.8831, allocations: 338.7 kB / 0.6742 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.8842, allocations: 127.8 kB / 0.6743 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.887, allocations: 0.9347 MB / 0.6752 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.8897, allocations: 195.2 kB / 0.6754 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.8899, allocations: 31.98 kB / 0.6755 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.8899, allocations: 4 kB / 0.6755 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00455/0.8945, allocations: 0.9099 MB / 0.6764 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8945, allocations: 4 kB / 0.6764 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.8967, allocations: 336.9 kB / 0.6767 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.8977, allocations: 127.8 kB / 0.6768 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.9005, allocations: 0.9377 MB / 0.6777 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.903, allocations: 171.3 kB / 0.6779 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.9031, allocations: 27.98 kB / 0.6779 GB, free: 14.14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.9042, allocations: 358.8 kB / 0.6782 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.9046, allocations: 110.6 kB / 0.6784 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007201/0.9118, allocations: 1.213 MB / 0.6795 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.9119, allocations: 4 kB / 0.6795 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/0.9119, allocations: 4 kB / 0.6795 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.9119, allocations: 7.938 kB / 0.6796 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009854/0.9218, allocations: 2.293 MB / 0.6818 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/0.9219, allocations: 8 kB / 0.6818 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/0.9224, allocations: 72.17 kB / 0.6819 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001998/0.9244, allocations: 332.5 kB / 0.6822 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.9245, allocations: 8 kB / 0.6822 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/0.9273, allocations: 0.9717 MB / 0.6831 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.9274, allocations: 4 kB / 0.6831 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006413/0.9338, allocations: 1.401 MB / 0.6845 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.9349, allocations: 279.6 kB / 0.6848 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.9352, allocations: 11.95 kB / 0.6848 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.9366, allocations: 119.7 kB / 0.6849 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.9368, allocations: 35.89 kB / 0.6849 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.9369, allocations: 23.98 kB / 0.685 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002139/0.939, allocations: 0.7506 MB / 0.6857 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.939, allocations: 0 / 0.6857 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002897/0.942, allocations: 0.5652 MB / 0.6862 GB, free: 5.348 MB / 0.5137 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008539/0.9505, allocations: 2.833 MB / 0.689 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004494/0.9551, allocations: 1.167 MB / 0.6902 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.9551, allocations: 4.062 kB / 0.6902 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009711/0.9561, allocations: 370.3 kB / 0.6905 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.9592, allocations: 0.4979 MB / 0.691 GB, free: 424 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.9698, allocations: 5.775 MB / 0.6966 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/0.9706, allocations: 1.085 MB / 0.6977 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001096/0.9717, allocations: 224 kB / 0.6979 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/0.9722, allocations: 419.3 kB / 0.6983 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.9722, allocations: 0 / 0.6983 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/1.106, allocations: 33.14 MB / 0.7307 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003621/1.106, allocations: 246.2 kB / 0.7309 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.981/5.087, allocations: 3.75 kB / 0.7309 GB, free: 7.863 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: