Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001027/0.001027, allocations: 99.7 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.001214/0.001214, allocations: 177.3 kB / 15.95 MB, free: 216 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.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.067/1.067, allocations: 143.3 MB / 434.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 12 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 83.41 MB / 0.5974 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4363/0.6002, allocations: 110.6 MB / 0.7054 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03388/0.6342, allocations: 19.98 MB / 0.7249 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00699/0.6412, allocations: 99.84 kB / 0.725 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006876/0.6481, allocations: 1.368 MB / 0.7263 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01954/0.6677, allocations: 4.197 MB / 0.7304 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009887/0.6776, allocations: 2.579 MB / 0.733 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01029/0.6879, allocations: 3.924 MB / 0.7368 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003732/0.6917, allocations: 1.719 MB / 0.7385 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005914/0.6976, allocations: 2.02 MB / 0.7404 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003346/0.701, allocations: 1.248 MB / 0.7417 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005777/0.7016, allocations: 96 kB / 0.7418 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/0.7074, allocations: 1.33 MB / 0.743 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006942/0.7081, allocations: 414.1 kB / 0.7434 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.7095, allocations: 0.555 MB / 0.744 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006088/0.7156, allocations: 3.318 MB / 0.7472 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.7156, allocations: 0 / 0.7472 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.677e-06/0.7156, allocations: 0 / 0.7472 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001029/0.7157, allocations: 0 / 0.7472 GB, free: 2.566 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006697/0.7224, allocations: 2.714 MB / 0.7499 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/0.7225, allocations: 12.03 kB / 0.7499 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005025/0.723, allocations: 215.8 kB / 0.7501 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.7276, allocations: 0.9645 MB / 0.751 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/0.7324, allocations: 2.067 MB / 0.7531 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001029/0.7334, allocations: 322.8 kB / 0.7534 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.7337, allocations: 160 kB / 0.7535 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004272/0.738, allocations: 1.965 MB / 0.7554 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.738, allocations: 0 / 0.7554 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.7382, allocations: 67.94 kB / 0.7555 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.7383, allocations: 39.95 kB / 0.7555 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005036/0.7433, allocations: 1.913 MB / 0.7574 GB, free: 7.902 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.01532/0.7586, allocations: 9.199 MB / 0.7664 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.7632, allocations: 1.331 MB / 0.7677 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/0.7646, allocations: 1.723 MB / 0.7694 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.7647, allocations: 42.5 kB / 0.7694 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.447e-06/0.7647, allocations: 0 / 0.7694 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009104/0.7738, allocations: 2.482 MB / 0.7718 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.7739, allocations: 89.06 kB / 0.7719 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/0.7783, allocations: 2.567 MB / 0.7744 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.7785, allocations: 53.58 kB / 0.7745 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009777/0.7795, allocations: 1.057 MB / 0.7755 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.7799, allocations: 276.2 kB / 0.7758 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.78, allocations: 20 kB / 0.7758 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7801, allocations: 341.9 kB / 0.7761 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001793/0.7819, allocations: 0.6232 MB / 0.7767 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.7841, allocations: 1.001 MB / 0.7777 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.786, allocations: 0.683 MB / 0.7784 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.786, allocations: 0 / 0.7784 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005684/0.7917, allocations: 1.978 MB / 0.7803 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.7917, allocations: 8 kB / 0.7803 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.7917, allocations: 8 kB / 0.7803 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.7937, allocations: 0.4958 MB / 0.7808 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.7949, allocations: 307.5 kB / 0.7811 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.7973, allocations: 1.565 MB / 0.7826 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/0.8007, allocations: 477.9 kB / 0.7831 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.8009, allocations: 55.97 kB / 0.7831 GB, free: 12.21 MB / 0.6075 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.8019, allocations: 469.5 kB / 0.7836 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.8023, allocations: 244.9 kB / 0.7838 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.806, allocations: 1.56 MB / 0.7853 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.806, allocations: 8 kB / 0.7853 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.806, allocations: 4 kB / 0.7854 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.806, allocations: 3.984 kB / 0.7854 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007725/0.8138, allocations: 3.747 MB / 0.789 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.8138, allocations: 7.938 kB / 0.789 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.8144, allocations: 140.1 kB / 0.7892 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.816, allocations: 0.497 MB / 0.7896 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.8161, allocations: 35.92 kB / 0.7897 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.8188, allocations: 1.641 MB / 0.7913 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.8188, allocations: 7.938 kB / 0.7913 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00621/0.825, allocations: 2.339 MB / 0.7936 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.8263, allocations: 0.5326 MB / 0.7941 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/0.8266, allocations: 20 kB / 0.7941 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.8284, allocations: 199.7 kB / 0.7943 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.8285, allocations: 59.81 kB / 0.7944 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.842e-05/0.8286, allocations: 39.97 kB / 0.7944 GB, free: 292 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003291/0.8319, allocations: 1.809 MB / 0.7962 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8319, allocations: 0 / 0.7962 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002154/0.834, allocations: 0.6984 MB / 0.7968 GB, free: 13.77 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007678/0.8417, allocations: 4.2 MB / 0.8009 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004127/0.8459, allocations: 1.432 MB / 0.8023 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/0.8459, allocations: 4 kB / 0.8023 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.8482, allocations: 0.7339 MB / 0.8031 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005752/0.854, allocations: 1.261 MB / 0.8043 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.8644, allocations: 10.88 MB / 0.8149 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.8655, allocations: 1.54 MB / 0.8164 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002049/0.8676, allocations: 443.4 kB / 0.8168 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.8687, allocations: 0.8976 MB / 0.8177 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.8687, allocations: 0 / 0.8177 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4599/1.329, allocations: 68.68 MB / 0.8848 GB, free: 185.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/1.329, allocations: 267.7 kB / 0.885 GB, free: 185.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.778/5.107, allocations: 0 / 0.885 GB, free: 185.1 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: