Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_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.004201/0.004201, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001229/0.001229, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9257/0.9257, allocations: 143.3 MB / 433.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 66.55 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.167, allocations: 82.04 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07587/0.243, allocations: 70.45 MB / 0.7442 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3945/0.6376, allocations: 18.93 MB / 0.7627 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.6402, allocations: 69.31 kB / 0.7628 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.6423, allocations: 0.8201 MB / 0.7636 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007822/0.6501, allocations: 2.854 MB / 0.7663 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.6544, allocations: 1.658 MB / 0.768 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006892/0.6613, allocations: 4.05 MB / 0.7719 GB, free: 17.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.6635, allocations: 1.455 MB / 0.7733 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/0.6678, allocations: 1.76 MB / 0.7751 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.6695, allocations: 1.182 MB / 0.7762 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.6697, allocations: 175.7 kB / 0.7764 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.6732, allocations: 1.419 MB / 0.7778 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003499/0.6736, allocations: 392.8 kB / 0.7781 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009692/0.6745, allocations: 0.9141 MB / 0.779 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.6789, allocations: 3.284 MB / 0.7822 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6789, allocations: 0 / 0.7822 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.544e-06/0.6789, allocations: 0 / 0.7822 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.482e-05/0.6789, allocations: 3.938 kB / 0.7822 GB, free: 14.8 MB / 0.5762 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.00319/0.6821, allocations: 2.088 MB / 0.7843 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.6822, allocations: 8.844 kB / 0.7843 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.6823, allocations: 162.2 kB / 0.7845 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.6845, allocations: 449.3 kB / 0.7849 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.6867, allocations: 1.572 MB / 0.7864 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.6868, allocations: 82.44 kB / 0.7865 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.687, allocations: 109 kB / 0.7866 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.6893, allocations: 1.312 MB / 0.7879 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.6893, allocations: 10.28 kB / 0.7879 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.6894, allocations: 42.41 kB / 0.7879 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.6894, allocations: 30.52 kB / 0.788 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.692, allocations: 1.098 MB / 0.789 GB, free: 11.04 MB / 0.5762 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.006705/0.6988, allocations: 7.524 MB / 0.7964 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.7018, allocations: 0.7952 MB / 0.7972 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/0.7023, allocations: 292.1 kB / 0.7974 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008339/0.7032, allocations: 1.717 MB / 0.7991 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.7032, allocations: 37.5 kB / 0.7991 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/0.7032, allocations: 10.34 kB / 0.7992 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.00457/0.7078, allocations: 1.345 MB / 0.8005 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.7078, allocations: 57.25 kB / 0.8005 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.7096, allocations: 1.55 MB / 0.802 GB, free: 308 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/0.7097, allocations: 36.2 kB / 0.8021 GB, free: 268 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/0.7105, allocations: 0.7126 MB / 0.8028 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.7107, allocations: 185.3 kB / 0.8029 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.711, allocations: 169.1 kB / 0.8031 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7111, allocations: 339.1 kB / 0.8034 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009934/0.7121, allocations: 364.6 kB / 0.8038 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.7134, allocations: 0.6583 MB / 0.8044 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.7153, allocations: 0.8871 MB / 0.8053 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.7153, allocations: 2.125 kB / 0.8053 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002849/0.7182, allocations: 1.207 MB / 0.8065 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7182, allocations: 9.938 kB / 0.8065 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7182, allocations: 8.062 kB / 0.8065 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008383/0.7191, allocations: 223.4 kB / 0.8067 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.7198, allocations: 195 kB / 0.8069 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009057/0.7207, allocations: 0.7132 MB / 0.8076 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.7223, allocations: 220.4 kB / 0.8078 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.7224, allocations: 40.98 kB / 0.8078 GB, free: 12.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0005329/0.7229, allocations: 362.2 kB / 0.8082 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.7232, allocations: 160 kB / 0.8083 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.7256, allocations: 1.138 MB / 0.8094 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.7256, allocations: 7.594 kB / 0.8094 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7257, allocations: 0 / 0.8094 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7257, allocations: 3.984 kB / 0.8094 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.731, allocations: 2.525 MB / 0.8119 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.731, allocations: 2.75 kB / 0.8119 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.7314, allocations: 82.58 kB / 0.812 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007456/0.7321, allocations: 221.5 kB / 0.8122 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.7322, allocations: 20.36 kB / 0.8122 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.7336, allocations: 0.7684 MB / 0.813 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.7336, allocations: 3.703 kB / 0.813 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.737, allocations: 1.205 MB / 0.8142 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006695/0.7377, allocations: 370.9 kB / 0.8145 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/0.738, allocations: 17.41 kB / 0.8145 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/0.7389, allocations: 69.81 kB / 0.8146 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7391, allocations: 39.41 kB / 0.8146 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.7391, allocations: 31.27 kB / 0.8147 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001811/0.7409, allocations: 1.083 MB / 0.8157 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.345e-06/0.741, allocations: 0 / 0.8157 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001481/0.7424, allocations: 450.9 kB / 0.8161 GB, free: 6.781 MB / 0.5919 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.005124/0.7476, allocations: 2.14 MB / 0.8182 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.7499, allocations: 0.8447 MB / 0.8191 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.7499, allocations: 8.312 kB / 0.8191 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.7513, allocations: 444.3 kB / 0.8195 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.7549, allocations: 0.7292 MB / 0.8202 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/0.7737, allocations: 10.51 MB / 0.8305 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008782/0.7746, allocations: 1.168 MB / 0.8316 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001025/0.7756, allocations: 268.5 kB / 0.8319 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/0.7764, allocations: 0.55 MB / 0.8324 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.7764, allocations: 0 / 0.8324 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.8782, allocations: 44.11 MB / 0.8755 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.41, allocations: 8.047 kB / 0.8755 GB, free: 10.32 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)