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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001477, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6264/0.6264, allocations: 90.8 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 348.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009402, allocations: 88 kB / 421.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.222e-05, allocations: 4 kB / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1698, allocations: 72.3 MB / 0.5603 GB, free: 6.344 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.481, allocations: 388.2 MB / 0.9395 GB, free: 85.49 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.481, allocations: 88.77 kB / 0.9395 GB, free: 85.45 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.822/4.303, allocations: 0.7824 GB / 1.722 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/4.303, allocations: 0 / 1.722 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001511/4.303, allocations: 51.98 kB / 1.722 GB, free: 4.996 MB / 0.6042 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.003595/4.307, allocations: 1.743 MB / 1.724 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/4.307, allocations: 15.98 kB / 1.724 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/4.307, allocations: 156.4 kB / 1.724 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/4.309, allocations: 477.6 kB / 1.724 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/4.313, allocations: 1.725 MB / 1.726 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/4.313, allocations: 149.9 kB / 1.726 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/4.313, allocations: 104 kB / 1.726 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/4.315, allocations: 1.189 MB / 1.727 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/4.315, allocations: 0 / 1.727 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/4.315, allocations: 44 kB / 1.727 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/4.315, allocations: 34 kB / 1.727 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/4.317, allocations: 0.8903 MB / 1.728 GB, free: 14.28 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.008991/4.326, allocations: 7.014 MB / 1.735 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002568/4.328, allocations: 0.7918 MB / 1.736 GB, free: 6.012 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/4.329, allocations: 246.1 kB / 1.736 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/4.33, allocations: 1.734 MB / 1.738 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/4.33, allocations: 42.94 kB / 1.738 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.985e-06/4.33, allocations: 0 / 1.738 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001533/4.332, allocations: 0.6436 MB / 1.739 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/4.332, allocations: 55.84 kB / 1.739 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/4.334, allocations: 1.29 MB / 1.74 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.924e-05/4.334, allocations: 41.69 kB / 1.74 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006062/4.335, allocations: 0.677 MB / 1.741 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/4.335, allocations: 177.5 kB / 1.741 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/4.335, allocations: 12 kB / 1.741 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001575/4.335, allocations: 337.9 kB / 1.741 GB, free: 328 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/4.335, allocations: 245.5 kB / 1.741 GB, free: 84 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4307/4.766, allocations: 0.5474 MB / 1.742 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/4.767, allocations: 314.4 kB / 1.742 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/4.767, allocations: 2.5 kB / 1.742 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002187/4.769, allocations: 0.9486 MB / 1.743 GB, free: 65.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/4.769, allocations: 7.906 kB / 1.743 GB, free: 65.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/4.769, allocations: 10.53 kB / 1.743 GB, free: 65.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/4.77, allocations: 226.6 kB / 1.743 GB, free: 65.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008114/4.771, allocations: 193.5 kB / 1.743 GB, free: 65.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007063/4.772, allocations: 0.7282 MB / 1.744 GB, free: 64.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/4.773, allocations: 262.7 kB / 1.744 GB, free: 64.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/4.774, allocations: 41 kB / 1.744 GB, free: 64.93 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.00018/4.774, allocations: 153.1 kB / 1.745 GB, free: 64.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/4.774, allocations: 147.4 kB / 1.745 GB, free: 64.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/4.776, allocations: 1.061 MB / 1.746 GB, free: 64.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/4.776, allocations: 9.297 kB / 1.746 GB, free: 64.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/4.777, allocations: 1.969 kB / 1.746 GB, free: 64.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/4.777, allocations: 6.219 kB / 1.746 GB, free: 64.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/4.782, allocations: 2.483 MB / 1.748 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/4.782, allocations: 3.031 kB / 1.748 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/4.783, allocations: 92.47 kB / 1.748 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000791/4.784, allocations: 227 kB / 1.749 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/4.784, allocations: 15.62 kB / 1.749 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006359/4.784, allocations: 0.7255 MB / 1.749 GB, free: 63.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/4.784, allocations: 7.125 kB / 1.749 GB, free: 63.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/4.787, allocations: 1.282 MB / 1.751 GB, free: 63.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/4.788, allocations: 372.4 kB / 1.751 GB, free: 63.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/4.788, allocations: 16.33 kB / 1.751 GB, free: 63.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/4.789, allocations: 100.8 kB / 1.751 GB, free: 63.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/4.79, allocations: 39.09 kB / 1.751 GB, free: 63.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/4.79, allocations: 29.97 kB / 1.751 GB, free: 63.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001766/4.791, allocations: 1.005 MB / 1.752 GB, free: 63.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.243e-06/4.791, allocations: 0.9375 kB / 1.752 GB, free: 63.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00197/4.793, allocations: 0.5031 MB / 1.753 GB, free: 63.05 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004581/4.798, allocations: 2.945 MB / 1.755 GB, free: 61.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001297/4.799, allocations: 0.6847 MB / 1.756 GB, free: 61.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/4.799, allocations: 3 kB / 1.756 GB, free: 61.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/4.8, allocations: 362.5 kB / 1.756 GB, free: 61.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003241/4.803, allocations: 0.6892 MB / 1.757 GB, free: 61.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/4.808, allocations: 1.982 MB / 1.759 GB, free: 61.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/4.809, allocations: 1.194 MB / 1.76 GB, free: 60.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001359/4.81, allocations: 265.8 kB / 1.76 GB, free: 60.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008437/4.811, allocations: 0.5453 MB / 1.761 GB, free: 60.33 MB / 0.6198 GB Notification: Performance of SimCode: time 3.587e-06/4.811, allocations: 0 / 1.761 GB, free: 60.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09444/4.906, allocations: 49.55 MB / 1.809 GB, free: 58.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/4.906, allocations: 222.7 kB / 1.81 GB, free: 58.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/8.283, allocations: 3.938 kB / 1.81 GB, free: 58.23 MB / 0.6198 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/linux/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)