Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_8_Buildings_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.001396/0.001396, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001551/0.001551, allocations: 194.7 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.626/1.626, allocations: 292.3 MB / 0.5486 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.33 kB / 0.6711 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05849/0.2152, allocations: 69.92 MB / 0.8512 GB, free: 7.656 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01869/0.234, allocations: 18.71 MB / 0.8695 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.2354, allocations: 63.62 kB / 0.8696 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.2369, allocations: 0.6996 MB / 0.8703 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.2415, allocations: 2.637 MB / 0.8728 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.2442, allocations: 1.533 MB / 0.8743 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003243/0.2474, allocations: 4.053 MB / 0.8783 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.2488, allocations: 1.445 MB / 0.8797 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.2513, allocations: 1.778 MB / 0.8814 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.2524, allocations: 1.218 MB / 0.8826 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.2526, allocations: 180 kB / 0.8828 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.2545, allocations: 1.443 MB / 0.8842 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002733/0.2548, allocations: 394.6 kB / 0.8846 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006589/0.2554, allocations: 0.9333 MB / 0.8855 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.258, allocations: 3.124 MB / 0.8885 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.258, allocations: 0 / 0.8885 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.362e-06/0.258, allocations: 0 / 0.8885 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.258, allocations: 0 / 0.8885 GB, free: 1.328 MB / 0.7012 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.002734/0.2607, allocations: 2.034 MB / 0.8905 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2608, allocations: 12.03 kB / 0.8905 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.2609, allocations: 160.5 kB / 0.8907 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.2629, allocations: 445.7 kB / 0.8911 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.2649, allocations: 1.524 MB / 0.8926 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/0.2652, allocations: 130 kB / 0.8927 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2654, allocations: 112 kB / 0.8928 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.2675, allocations: 1.288 MB / 0.8941 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.2675, allocations: 7.938 kB / 0.8941 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/0.2676, allocations: 47.94 kB / 0.8942 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.2677, allocations: 24 kB / 0.8942 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.27, allocations: 1.124 MB / 0.8953 GB, free: 10.22 MB / 0.7169 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.00693/0.2769, allocations: 6.853 MB / 0.902 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002852/0.2798, allocations: 0.8435 MB / 0.9028 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.2804, allocations: 302 kB / 0.9031 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.2815, allocations: 1.718 MB / 0.9048 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2815, allocations: 42.98 kB / 0.9048 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 3.076e-06/0.2815, allocations: 0 / 0.9048 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.004106/0.2856, allocations: 1.385 MB / 0.9061 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2857, allocations: 63.78 kB / 0.9062 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.2875, allocations: 1.529 MB / 0.9077 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.2876, allocations: 37.7 kB / 0.9077 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.2881, allocations: 0.6615 MB / 0.9084 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2882, allocations: 189.3 kB / 0.9086 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.2884, allocations: 166.4 kB / 0.9087 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2885, allocations: 338 kB / 0.909 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009291/0.2895, allocations: 377.7 kB / 0.9094 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.2906, allocations: 0.651 MB / 0.91 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.2922, allocations: 0.8718 MB / 0.9109 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2922, allocations: 4 kB / 0.9109 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003764/0.296, allocations: 1.372 MB / 0.9122 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.296, allocations: 11.94 kB / 0.9122 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.296, allocations: 8 kB / 0.9123 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/0.2968, allocations: 216.9 kB / 0.9125 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/0.2975, allocations: 195.7 kB / 0.9126 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007159/0.2982, allocations: 0.7162 MB / 0.9133 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.2996, allocations: 238.7 kB / 0.9136 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/0.2996, allocations: 43.98 kB / 0.9136 GB, free: 6.246 MB / 0.7325 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 (82): * Single equations (assignments): 81 * 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.0004422/0.3001, allocations: 358.3 kB / 0.914 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.3003, allocations: 150.2 kB / 0.9141 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.3024, allocations: 1.176 MB / 0.9153 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.3025, allocations: 12 kB / 0.9153 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3025, allocations: 0 / 0.9153 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3025, allocations: 11.92 kB / 0.9153 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.307, allocations: 2.576 MB / 0.9178 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.307, allocations: 0 / 0.9178 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.3073, allocations: 92.06 kB / 0.9179 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006281/0.308, allocations: 216.6 kB / 0.9181 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.308, allocations: 19.92 kB / 0.9181 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3091, allocations: 0.7748 MB / 0.9189 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3091, allocations: 7.922 kB / 0.9189 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3018/0.6109, allocations: 1.234 MB / 0.9201 GB, free: 136.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/0.6116, allocations: 352.1 kB / 0.9204 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.6118, allocations: 13.83 kB / 0.9204 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/0.6127, allocations: 91.95 kB / 0.9205 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6128, allocations: 44.66 kB / 0.9206 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.6129, allocations: 30.25 kB / 0.9206 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001648/0.6146, allocations: 1.075 MB / 0.9216 GB, free: 136 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6146, allocations: 3.938 kB / 0.9216 GB, free: 136 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001177/0.6158, allocations: 442.5 kB / 0.9221 GB, free: 136 MB / 0.7325 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 (56): * Single equations (assignments): 45 * 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.004072/0.6198, allocations: 2.145 MB / 0.9242 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.6221, allocations: 0.9039 MB / 0.925 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6221, allocations: 0 / 0.925 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.6233, allocations: 467.7 kB / 0.9255 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.626, allocations: 0.7645 MB / 0.9262 GB, free: 135 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/0.65, allocations: 11.81 MB / 0.9378 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.6507, allocations: 1.175 MB / 0.9389 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001157/0.6519, allocations: 275.7 kB / 0.9392 GB, free: 127.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/0.6526, allocations: 0.5504 MB / 0.9397 GB, free: 127 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.6526, allocations: 0 / 0.9397 GB, free: 127 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6325/1.285, allocations: 43.59 MB / 0.9823 GB, free: 98.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/1.285, allocations: 271.9 kB / 0.9825 GB, free: 97.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/4.163, allocations: 0 / 0.9825 GB, free: 97.77 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)