Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",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.001495/0.001495, allocations: 100 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.001763/0.001764, 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.937/1.937, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.069/1.069, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 8 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7618, allocations: 81.57 MB / 0.583 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06224/0.8241, allocations: 51.31 MB / 0.6331 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01747/0.8416, allocations: 10.3 MB / 0.6431 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.8446, allocations: 51.62 kB / 0.6432 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.8471, allocations: 0.6219 MB / 0.6438 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.8547, allocations: 1.94 MB / 0.6457 GB, free: 152 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.8594, allocations: 1.316 MB / 0.647 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00476/0.8641, allocations: 1.843 MB / 0.6488 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.866, allocations: 0.8174 MB / 0.6496 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.8689, allocations: 0.9847 MB / 0.6505 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.8706, allocations: 0.5988 MB / 0.6511 GB, free: 10.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000327/0.8709, allocations: 40 kB / 0.6511 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.8741, allocations: 1.006 MB / 0.6521 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.8744, allocations: 195.1 kB / 0.6523 GB, free: 9.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005144/0.875, allocations: 285 kB / 0.6526 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.8771, allocations: 1.586 MB / 0.6541 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8771, allocations: 0 / 0.6541 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.8771, allocations: 0 / 0.6541 GB, free: 7.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.8771, allocations: 0 / 0.6541 GB, free: 7.469 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.003288/0.8804, allocations: 1.502 MB / 0.6556 GB, free: 5.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.81e-05/0.8805, allocations: 8.031 kB / 0.6556 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.8807, allocations: 122.7 kB / 0.6557 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.8824, allocations: 386 kB / 0.6561 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.8844, allocations: 1.035 MB / 0.6571 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.8848, allocations: 133.9 kB / 0.6572 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.8849, allocations: 80 kB / 0.6573 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.887, allocations: 0.9622 MB / 0.6582 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.887, allocations: 3.938 kB / 0.6583 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.622e-05/0.8871, allocations: 32 kB / 0.6583 GB, free: 3.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.8871, allocations: 20 kB / 0.6583 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.8893, allocations: 0.8431 MB / 0.6591 GB, free: 2.188 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.00684/0.8962, allocations: 4.835 MB / 0.6638 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.8978, allocations: 0.6015 MB / 0.6644 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.8995, allocations: 1.392 MB / 0.6658 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.8995, allocations: 42.5 kB / 0.6658 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.366e-06/0.8995, allocations: 0 / 0.6658 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.008091/0.9076, allocations: 2.025 MB / 0.6678 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.9077, allocations: 63.36 kB / 0.6679 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.9093, allocations: 1.063 MB / 0.6689 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.9094, allocations: 37.7 kB / 0.6689 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004859/0.9099, allocations: 0.5235 MB / 0.6695 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.91, allocations: 149.8 kB / 0.6696 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.9101, allocations: 12 kB / 0.6696 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.9102, allocations: 330 kB / 0.6699 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.911, allocations: 277 kB / 0.6702 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000946/0.9119, allocations: 494.9 kB / 0.6707 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.9128, allocations: 327.5 kB / 0.671 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.9128, allocations: 3.938 kB / 0.671 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003436/0.9162, allocations: 1.145 MB / 0.6721 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007592/0.917, allocations: 1.571 MB / 0.6736 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.917, allocations: 4 kB / 0.6736 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.9183, allocations: 338.4 kB / 0.674 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.9188, allocations: 111.9 kB / 0.6741 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.9203, allocations: 0.9425 MB / 0.675 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.9215, allocations: 179.3 kB / 0.6752 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/0.9216, allocations: 24 kB / 0.6752 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.9216, allocations: 4 kB / 0.6752 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003022/0.9247, allocations: 1.011 MB / 0.6762 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.9247, allocations: 4 kB / 0.6762 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.9258, allocations: 331.7 kB / 0.6765 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.9262, allocations: 115.8 kB / 0.6766 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.9277, allocations: 0.9386 MB / 0.6775 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.929, allocations: 155.4 kB / 0.6777 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.929, allocations: 27.98 kB / 0.6777 GB, free: 14.15 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.0007064/0.9298, allocations: 349 kB / 0.678 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.9299, allocations: 110.6 kB / 0.6781 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.9338, allocations: 1.151 MB / 0.6793 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.9339, allocations: 8 kB / 0.6793 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.9339, allocations: 0 / 0.6793 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.9339, allocations: 0 / 0.6793 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.9392, allocations: 2.161 MB / 0.6814 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.9392, allocations: 8 kB / 0.6814 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.9394, allocations: 55.91 kB / 0.6814 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.9405, allocations: 339 kB / 0.6818 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.9406, allocations: 19.95 kB / 0.6818 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.9421, allocations: 0.9659 MB / 0.6827 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9421, allocations: 4.031 kB / 0.6827 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.9458, allocations: 1.306 MB / 0.684 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/0.9464, allocations: 283.4 kB / 0.6843 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.9465, allocations: 8 kB / 0.6843 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.9474, allocations: 107.8 kB / 0.6844 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.9475, allocations: 39.83 kB / 0.6844 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.9475, allocations: 23.98 kB / 0.6844 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001273/0.9488, allocations: 0.7506 MB / 0.6852 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9488, allocations: 0 / 0.6852 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001665/0.9505, allocations: 0.5731 MB / 0.6857 GB, free: 5.676 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 (33): * Single equations (assignments): 28 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.004811/0.9553, allocations: 2.749 MB / 0.6884 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002879/0.9582, allocations: 1.05 MB / 0.6894 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.9582, allocations: 4 kB / 0.6894 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007966/0.959, allocations: 334.1 kB / 0.6898 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.9616, allocations: 499.2 kB / 0.6902 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.9678, allocations: 5.5 MB / 0.6956 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/0.9686, allocations: 1.081 MB / 0.6967 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001024/0.9696, allocations: 219.1 kB / 0.6969 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005583/0.9702, allocations: 411.1 kB / 0.6973 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of SimCode: time 1.292e-06/0.9702, allocations: 0 / 0.6973 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7222/1.692, allocations: 33.15 MB / 0.7296 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004182/1.693, allocations: 259.9 kB / 0.7299 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.434/6.127, allocations: 0 / 0.7299 GB, free: 8.676 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: