Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_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.006485/0.006485, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001402/0.001402, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.945/1.945, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.89 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9616/0.9627, allocations: 140.4 MB / 1.087 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1373/1.1, allocations: 132.3 MB / 1.217 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03515/1.135, allocations: 23.23 MB / 1.239 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004694/1.14, allocations: 129 kB / 1.239 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004342/1.144, allocations: 1.487 MB / 1.241 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/1.158, allocations: 4.101 MB / 1.245 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006071/1.164, allocations: 2.18 MB / 1.247 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.174, allocations: 6.537 MB / 1.253 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/1.177, allocations: 2.357 MB / 1.256 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005776/1.183, allocations: 2.751 MB / 1.258 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/1.185, allocations: 1.895 MB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/1.186, allocations: 248 kB / 1.26 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004427/1.19, allocations: 1.938 MB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005683/1.191, allocations: 0.6031 MB / 1.263 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/1.192, allocations: 1.458 MB / 1.264 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005967/1.198, allocations: 4.358 MB / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.198, allocations: 0 / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.198, allocations: 0 / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.832e-05/1.198, allocations: 4 kB / 1.269 GB, free: 4.195 MB / 0.9981 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.00526/1.204, allocations: 3.176 MB / 1.272 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.204, allocations: 8.031 kB / 1.272 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002846/1.204, allocations: 228 kB / 1.272 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/1.208, allocations: 0.8358 MB / 1.273 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/1.212, allocations: 2.331 MB / 1.275 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/1.212, allocations: 123 kB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/1.213, allocations: 164 kB / 1.275 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/1.216, allocations: 1.926 MB / 1.277 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/1.216, allocations: 0 / 1.277 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/1.217, allocations: 63.94 kB / 1.277 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/1.217, allocations: 40 kB / 1.277 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004593/1.221, allocations: 1.803 MB / 1.279 GB, free: 9.262 MB / 1.014 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.01328/1.234, allocations: 8.977 MB / 1.288 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/1.239, allocations: 1.201 MB / 1.289 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/1.24, allocations: 469.9 kB / 1.289 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/1.241, allocations: 1.726 MB / 1.291 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/1.241, allocations: 38.56 kB / 1.291 GB, free: 11.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.726e-06/1.241, allocations: 4 kB / 1.291 GB, free: 11.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008642/1.25, allocations: 2.332 MB / 1.293 GB, free: 9.461 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/1.25, allocations: 93.03 kB / 1.294 GB, free: 9.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003883/1.254, allocations: 2.52 MB / 1.296 GB, free: 6.812 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.254, allocations: 45.7 kB / 1.296 GB, free: 6.762 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008635/1.255, allocations: 1.038 MB / 1.297 GB, free: 5.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/1.255, allocations: 276.1 kB / 1.297 GB, free: 5.441 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/1.255, allocations: 254.6 kB / 1.298 GB, free: 5.184 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.256, allocations: 353.9 kB / 1.298 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/1.257, allocations: 0.5686 MB / 1.298 GB, free: 4.266 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/1.259, allocations: 0.9465 MB / 1.299 GB, free: 3.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/1.262, allocations: 1.252 MB / 1.301 GB, free: 1.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.262, allocations: 4 kB / 1.301 GB, free: 1.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006524/1.269, allocations: 2.021 MB / 1.303 GB, free: 15.76 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/1.269, allocations: 8 kB / 1.303 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.269, allocations: 11.94 kB / 1.303 GB, free: 15.74 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/1.271, allocations: 485.2 kB / 1.303 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.272, allocations: 287.5 kB / 1.303 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/1.274, allocations: 1.528 MB / 1.305 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00275/1.277, allocations: 373.9 kB / 1.305 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.277, allocations: 59.95 kB / 1.305 GB, free: 12.98 MB / 1.045 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.000906/1.278, allocations: 457.5 kB / 1.306 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/1.278, allocations: 244.9 kB / 1.306 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/1.282, allocations: 1.507 MB / 1.307 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/1.282, allocations: 15.98 kB / 1.307 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.282, allocations: 0 / 1.307 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.282, allocations: 3.984 kB / 1.307 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/1.29, allocations: 3.616 MB / 1.311 GB, free: 7.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.29, allocations: 4 kB / 1.311 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/1.291, allocations: 132.2 kB / 1.311 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/1.292, allocations: 489 kB / 1.312 GB, free: 6.395 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/1.292, allocations: 23.98 kB / 1.312 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/1.295, allocations: 1.587 MB / 1.313 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.295, allocations: 4 kB / 1.313 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006375/1.302, allocations: 1.939 MB / 1.315 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.303, allocations: 0.4897 MB / 1.315 GB, free: 2.211 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/1.303, allocations: 24 kB / 1.316 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.305, allocations: 135.8 kB / 1.316 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/1.305, allocations: 59.8 kB / 1.316 GB, free: 1.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.256e-05/1.305, allocations: 43.97 kB / 1.316 GB, free: 1.953 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002861/1.308, allocations: 1.774 MB / 1.317 GB, free: 180 kB / 1.045 GB Notification: Performance of sort global known variables: time 2.11e-07/1.308, allocations: 0 / 1.317 GB, free: 180 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001909/1.31, allocations: 0.6866 MB / 1.318 GB, free: 15.49 MB / 1.061 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.008144/1.318, allocations: 3.005 MB / 1.321 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005724/1.323, allocations: 1.338 MB / 1.322 GB, free: 11.08 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.324, allocations: 4 kB / 1.322 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002789/1.326, allocations: 0.6741 MB / 1.323 GB, free: 10.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006415/1.333, allocations: 1.333 MB / 1.324 GB, free: 9.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03526/1.368, allocations: 16.66 MB / 1.341 GB, free: 7.961 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.369, allocations: 1.489 MB / 1.342 GB, free: 6.438 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001856/1.371, allocations: 428.5 kB / 1.342 GB, free: 6.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.372, allocations: 0.9054 MB / 1.343 GB, free: 5.113 MB / 1.076 GB Notification: Performance of SimCode: time 7.32e-07/1.372, allocations: 0 / 1.343 GB, free: 5.113 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.485, allocations: 66.22 MB / 1.408 GB, free: 3.777 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.18/17.67, allocations: 6.562 kB / 1.408 GB, free: 3.773 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)