Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_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.001124/0.001124, allocations: 107.7 kB / 16.4 MB, free: 6.477 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.001111/0.001111, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7348/0.7348, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 60.06 kB / 0.5572 GB, free: 32.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.142, allocations: 76.19 MB / 0.6316 GB, free: 5.008 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4678/0.6099, allocations: 132.2 MB / 0.7607 GB, free: 28.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02737/0.6373, allocations: 23.23 MB / 0.7834 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004904/0.6422, allocations: 124.3 kB / 0.7835 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.6464, allocations: 1.496 MB / 0.7849 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.6598, allocations: 4.102 MB / 0.7889 GB, free: 28.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00596/0.6658, allocations: 2.162 MB / 0.7911 GB, free: 27.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008342/0.6742, allocations: 6.548 MB / 0.7975 GB, free: 24.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.6773, allocations: 2.357 MB / 0.7998 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/0.6834, allocations: 2.811 MB / 0.8025 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.6866, allocations: 1.879 MB / 0.8043 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005319/0.6872, allocations: 250.5 kB / 0.8046 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.6916, allocations: 1.945 MB / 0.8065 GB, free: 20.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.6923, allocations: 0.6043 MB / 0.8071 GB, free: 19.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002295/0.6946, allocations: 1.458 MB / 0.8085 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006743/0.7013, allocations: 4.357 MB / 0.8127 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7014, allocations: 2.844 kB / 0.8127 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7014, allocations: 0 / 0.8127 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.67e-05/0.7014, allocations: 0 / 0.8127 GB, free: 16.22 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006291/0.7077, allocations: 3.178 MB / 0.8158 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.7078, allocations: 11.16 kB / 0.8159 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.708, allocations: 217.7 kB / 0.8161 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004288/0.7123, allocations: 0.8527 MB / 0.8169 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/0.7161, allocations: 2.317 MB / 0.8192 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.7162, allocations: 128.1 kB / 0.8193 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.7164, allocations: 160.9 kB / 0.8194 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.7196, allocations: 1.92 MB / 0.8213 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.7197, allocations: 7.938 kB / 0.8213 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.7198, allocations: 60 kB / 0.8214 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.7198, allocations: 40 kB / 0.8214 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003787/0.7236, allocations: 1.807 MB / 0.8232 GB, free: 7.703 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.01009/0.7337, allocations: 8.998 MB / 0.832 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004003/0.7377, allocations: 1.195 MB / 0.8331 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.7388, allocations: 461.4 kB / 0.8336 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.7399, allocations: 1.731 MB / 0.8353 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.7399, allocations: 38.56 kB / 0.8353 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.324e-06/0.74, allocations: 0 / 0.8353 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008181/0.7481, allocations: 2.333 MB / 0.8376 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.7482, allocations: 92.86 kB / 0.8377 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.7521, allocations: 2.524 MB / 0.8401 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.7523, allocations: 45.7 kB / 0.8402 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008636/0.7531, allocations: 1.039 MB / 0.8412 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.7534, allocations: 274.1 kB / 0.8415 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.7539, allocations: 250.6 kB / 0.8417 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.754, allocations: 353.9 kB / 0.842 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.7556, allocations: 0.5647 MB / 0.8426 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/0.7575, allocations: 0.9577 MB / 0.8435 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.7603, allocations: 1.252 MB / 0.8447 GB, free: 348 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7603, allocations: 4 kB / 0.8447 GB, free: 344 kB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006159/0.7664, allocations: 2.028 MB / 0.8467 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.7665, allocations: 8 kB / 0.8467 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.7665, allocations: 8 kB / 0.8467 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.7683, allocations: 0.4884 MB / 0.8472 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.7695, allocations: 279.5 kB / 0.8475 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.7715, allocations: 1.514 MB / 0.849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/0.7744, allocations: 366 kB / 0.8493 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.7746, allocations: 59.97 kB / 0.8494 GB, free: 11.52 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008987/0.7755, allocations: 457.9 kB / 0.8498 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/0.7762, allocations: 249 kB / 0.85 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/0.7797, allocations: 1.506 MB / 0.8515 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.7797, allocations: 8 kB / 0.8515 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7797, allocations: 4 kB / 0.8515 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7797, allocations: 3.984 kB / 0.8515 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/0.7871, allocations: 3.61 MB / 0.8551 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.7871, allocations: 7.984 kB / 0.8551 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.7877, allocations: 124.2 kB / 0.8552 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001685/0.7894, allocations: 0.4952 MB / 0.8557 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.251e-05/0.7895, allocations: 23.98 kB / 0.8557 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.792, allocations: 1.585 MB / 0.8572 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.7921, allocations: 7.938 kB / 0.8572 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/0.7984, allocations: 1.937 MB / 0.8591 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.7997, allocations: 485.6 kB / 0.8596 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.8, allocations: 27.92 kB / 0.8596 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.8017, allocations: 131.8 kB / 0.8597 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.8018, allocations: 63.86 kB / 0.8598 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.8019, allocations: 43.97 kB / 0.8599 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002933/0.8048, allocations: 1.77 MB / 0.8616 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8048, allocations: 0 / 0.8616 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00218/0.807, allocations: 0.7021 MB / 0.8623 GB, free: 14.07 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007167/0.8142, allocations: 2.994 MB / 0.8652 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004247/0.8185, allocations: 1.359 MB / 0.8665 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.8185, allocations: 0 / 0.8665 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.8208, allocations: 0.6833 MB / 0.8672 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006235/0.827, allocations: 1.327 MB / 0.8685 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/0.8624, allocations: 16.65 MB / 0.8847 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.8638, allocations: 1.49 MB / 0.8862 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002061/0.8659, allocations: 439.8 kB / 0.8866 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.8673, allocations: 0.9014 MB / 0.8875 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/0.8673, allocations: 0 / 0.8875 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/0.9808, allocations: 67.53 MB / 0.9534 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.99, allocations: 4.281 kB / 0.9534 GB, free: 1.016 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)