Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001133/0.001133, allocations: 107.6 kB / 15.99 MB, free: 6.352 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.001233/0.001233, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.24/1.24, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.645/0.645, allocations: 115.3 MB / 406.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2871, allocations: 76.16 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05119/0.3383, allocations: 69.85 MB / 0.6242 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.358, allocations: 18.79 MB / 0.6426 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.3601, allocations: 67.56 kB / 0.6426 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.3618, allocations: 0.6918 MB / 0.6433 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.3676, allocations: 2.665 MB / 0.6459 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.3706, allocations: 1.523 MB / 0.6474 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003817/0.3745, allocations: 4.054 MB / 0.6514 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.3759, allocations: 1.453 MB / 0.6528 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.379, allocations: 1.776 MB / 0.6545 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.3802, allocations: 1.21 MB / 0.6557 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.3804, allocations: 180 kB / 0.6559 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.3826, allocations: 1.439 MB / 0.6573 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.3829, allocations: 386.6 kB / 0.6576 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006892/0.3836, allocations: 0.9254 MB / 0.6585 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.3862, allocations: 3.089 MB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3862, allocations: 0 / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3862, allocations: 0 / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.3863, allocations: 4 kB / 0.6616 GB, free: 8.273 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002712/0.389, allocations: 2.03 MB / 0.6635 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.389, allocations: 12.03 kB / 0.6636 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.3892, allocations: 156.5 kB / 0.6637 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.3912, allocations: 450.1 kB / 0.6641 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.3933, allocations: 1.504 MB / 0.6656 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/0.3936, allocations: 134 kB / 0.6657 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.3938, allocations: 100 kB / 0.6658 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.396, allocations: 1.297 MB / 0.6671 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.3961, allocations: 3.984 kB / 0.6671 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.3962, allocations: 44 kB / 0.6671 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.3962, allocations: 28 kB / 0.6672 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.3986, allocations: 1.112 MB / 0.6683 GB, free: 1.199 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.00702/0.4056, allocations: 7.142 MB / 0.6752 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.4085, allocations: 0.8018 MB / 0.676 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/0.409, allocations: 286 kB / 0.6763 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.4101, allocations: 1.714 MB / 0.678 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4101, allocations: 42.94 kB / 0.678 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.4101, allocations: 0 / 0.678 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004165/0.4143, allocations: 1.342 MB / 0.6793 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.4143, allocations: 55.84 kB / 0.6794 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.4162, allocations: 1.521 MB / 0.6808 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.4162, allocations: 41.64 kB / 0.6809 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.4167, allocations: 0.6653 MB / 0.6815 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4168, allocations: 165.6 kB / 0.6817 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.417, allocations: 170.4 kB / 0.6819 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.4171, allocations: 337.9 kB / 0.6822 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008668/0.418, allocations: 361.7 kB / 0.6825 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.4191, allocations: 0.634 MB / 0.6831 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.4206, allocations: 0.8483 MB / 0.684 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4207, allocations: 0 / 0.684 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00376/0.4244, allocations: 1.329 MB / 0.6853 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4245, allocations: 11.98 kB / 0.6853 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4245, allocations: 11.94 kB / 0.6853 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/0.4252, allocations: 221.1 kB / 0.6855 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.4259, allocations: 183.7 kB / 0.6857 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007128/0.4266, allocations: 0.7123 MB / 0.6864 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.428, allocations: 242.7 kB / 0.6866 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.4281, allocations: 39.97 kB / 0.6866 GB, free: 13.14 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004109/0.4285, allocations: 361.5 kB / 0.687 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4287, allocations: 146.2 kB / 0.6871 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.4308, allocations: 1.132 MB / 0.6882 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.4308, allocations: 19.98 kB / 0.6883 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4308, allocations: 7.875 kB / 0.6883 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4308, allocations: 0 / 0.6883 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/0.4353, allocations: 2.506 MB / 0.6907 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4353, allocations: 192 / 0.6907 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.4356, allocations: 91.83 kB / 0.6908 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006544/0.4363, allocations: 212.6 kB / 0.691 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.4363, allocations: 23.98 kB / 0.691 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.4375, allocations: 0.7708 MB / 0.6918 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4375, allocations: 4 kB / 0.6918 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/0.4405, allocations: 1.199 MB / 0.693 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.4409, allocations: 346.9 kB / 0.6933 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.4411, allocations: 15.98 kB / 0.6933 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008925/0.442, allocations: 91.84 kB / 0.6934 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/0.4421, allocations: 48.39 kB / 0.6934 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.4422, allocations: 27.97 kB / 0.6935 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001468/0.4437, allocations: 1.07 MB / 0.6945 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4437, allocations: 0 / 0.6945 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001047/0.4447, allocations: 443.3 kB / 0.6949 GB, free: 4.488 MB / 0.5294 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004003/0.4487, allocations: 2.101 MB / 0.697 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002035/0.4508, allocations: 0.8679 MB / 0.6978 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4508, allocations: 0 / 0.6978 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.452, allocations: 447.5 kB / 0.6983 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.4546, allocations: 0.7394 MB / 0.699 GB, free: 340 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/0.4787, allocations: 11.67 MB / 0.7104 GB, free: 4.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.4795, allocations: 1.172 MB / 0.7115 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009933/0.4805, allocations: 259.9 kB / 0.7118 GB, free: 2.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/0.4812, allocations: 0.5578 MB / 0.7123 GB, free: 2.059 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.4812, allocations: 0 / 0.7123 GB, free: 2.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.64/2.121, allocations: 42.75 MB / 0.7541 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/2.121, allocations: 275.1 kB / 0.7543 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/4.795, allocations: 0 / 0.7543 GB, free: 165.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)