Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y",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.0009959/0.000996, 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.0009149/0.0009149, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.174/1.174, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001834, allocations: 59.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.8766, allocations: 140.4 MB / 0.9492 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07001/0.9467, allocations: 74.53 MB / 1.022 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.9666, allocations: 12.66 MB / 1.034 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.9705, allocations: 59.62 kB / 1.034 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003098/0.9736, allocations: 0.7151 MB / 1.035 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008563/0.9822, allocations: 2.298 MB / 1.037 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.9862, allocations: 1.284 MB / 1.039 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006992/0.9932, allocations: 4.419 MB / 1.043 GB, free: 1.824 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002734/0.996, allocations: 1.425 MB / 1.044 GB, free: 368 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/1.001, allocations: 1.624 MB / 1.046 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/1.003, allocations: 1.233 MB / 1.047 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004884/1.004, allocations: 164 kB / 1.047 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/1.007, allocations: 1.419 MB / 1.049 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007702/1.008, allocations: 402.5 kB / 1.049 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002186/1.01, allocations: 0.91 MB / 1.05 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005482/1.016, allocations: 2.84 MB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.016, allocations: 0 / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/1.016, allocations: 0 / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.441e-05/1.016, allocations: 0 / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004072/1.02, allocations: 2.084 MB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.02, allocations: 12.03 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/1.02, allocations: 148.1 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/1.021, allocations: 226.9 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/1.023, allocations: 1.496 MB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/1.023, allocations: 78 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/1.023, allocations: 100 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/1.025, allocations: 1.1 MB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/1.025, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/1.025, allocations: 40 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/1.026, allocations: 28 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/1.027, allocations: 0.8861 MB / 1.059 GB, free: 1.406 MB / 0.8106 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.005425/1.033, allocations: 4.9 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.034, allocations: 0.6159 MB / 1.064 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006516/1.035, allocations: 350.3 kB / 1.064 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/1.035, allocations: 0.8238 MB / 1.065 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.035, allocations: 39.12 kB / 1.065 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 1.803e-06/1.035, allocations: 4 kB / 1.065 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006676/1.042, allocations: 1.678 MB / 1.067 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.042, allocations: 63.89 kB / 1.067 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.043, allocations: 1.206 MB / 1.068 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/1.044, allocations: 37.7 kB / 1.068 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/1.044, allocations: 0.6104 MB / 1.069 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/1.044, allocations: 212.9 kB / 1.069 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/1.044, allocations: 154.5 kB / 1.069 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.044, allocations: 341.9 kB / 1.07 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/1.045, allocations: 288.7 kB / 1.07 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/1.046, allocations: 495.8 kB / 1.07 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/1.047, allocations: 0.7168 MB / 1.071 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.047, allocations: 0 / 1.071 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004372/1.052, allocations: 1.265 MB / 1.072 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.052, allocations: 9.562 kB / 1.072 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/1.052, allocations: 8.312 kB / 1.072 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/1.052, allocations: 136.7 kB / 1.072 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/1.053, allocations: 159.8 kB / 1.072 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007671/1.053, allocations: 0.6966 MB / 1.073 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.055, allocations: 151.1 kB / 1.073 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/1.055, allocations: 39.98 kB / 1.073 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009967/1.056, allocations: 0.5487 MB / 1.074 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007522/1.056, allocations: 487.9 kB / 1.074 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001312/1.058, allocations: 0.7011 MB / 1.075 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/1.058, allocations: 4 kB / 1.075 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004326/1.062, allocations: 1.261 MB / 1.076 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.062, allocations: 8 kB / 1.076 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.062, allocations: 4 kB / 1.076 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/1.063, allocations: 145 kB / 1.076 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/1.063, allocations: 155.8 kB / 1.077 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007009/1.064, allocations: 0.7005 MB / 1.077 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.065, allocations: 131.7 kB / 1.077 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/1.065, allocations: 31.98 kB / 1.077 GB, free: 13.38 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002104/1.065, allocations: 236.5 kB / 1.078 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/1.065, allocations: 138.2 kB / 1.078 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004426/1.07, allocations: 1.256 MB / 1.079 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.07, allocations: 4 kB / 1.079 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.07, allocations: 8 kB / 1.079 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003824/1.074, allocations: 1.099 MB / 1.08 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006066/1.08, allocations: 2.606 MB / 1.083 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.08, allocations: 4 kB / 1.083 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/1.08, allocations: 119.7 kB / 1.083 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/1.081, allocations: 133.2 kB / 1.083 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/1.081, allocations: 16 kB / 1.083 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004672/1.085, allocations: 2.591 MB / 1.085 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.085, allocations: 7.938 kB / 1.085 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005071/1.091, allocations: 1.699 MB / 1.087 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/1.091, allocations: 311.1 kB / 1.087 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/1.092, allocations: 19.94 kB / 1.087 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.093, allocations: 79.88 kB / 1.087 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.093, allocations: 60.3 kB / 1.088 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/1.093, allocations: 35.98 kB / 1.088 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001561/1.095, allocations: 0.8698 MB / 1.088 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/1.095, allocations: 0 / 1.088 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002382/1.097, allocations: 0.7057 MB / 1.089 GB, free: 0.9844 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006747/1.104, allocations: 2.572 MB / 1.092 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003027/1.107, allocations: 1.156 MB / 1.093 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.107, allocations: 4 kB / 1.093 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.108, allocations: 0.5603 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/1.112, allocations: 0.8043 MB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02579/1.138, allocations: 10.83 MB / 1.105 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008413/1.139, allocations: 1.18 MB / 1.106 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001267/1.14, allocations: 307 kB / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/1.141, allocations: 0.5032 MB / 1.107 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of SimCode: time 8.72e-07/1.141, allocations: 0 / 1.107 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6639/1.805, allocations: 41.47 MB / 1.147 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004222/1.805, allocations: 256.1 kB / 1.147 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/4.705, allocations: 0 / 1.147 GB, free: 5.211 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)