Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.001308/0.001308, allocations: 99.86 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.002022/0.002022, allocations: 177.3 kB / 15.94 MB, free: 228 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.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003084, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8017/0.8021, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05381/0.8559, allocations: 50.62 MB / 1.003 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.8771, allocations: 11.33 MB / 1.014 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.8802, allocations: 55.62 kB / 1.014 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.8835, allocations: 0.9174 MB / 1.015 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007077/0.8906, allocations: 2.284 MB / 1.017 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005095/0.8957, allocations: 1.705 MB / 1.019 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007258/0.9029, allocations: 2.542 MB / 1.021 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.905, allocations: 0.9916 MB / 1.022 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.9084, allocations: 1.175 MB / 1.024 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001605/0.91, allocations: 0.7854 MB / 1.024 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.9102, allocations: 60 kB / 1.024 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.9141, allocations: 0.9049 MB / 1.025 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.9147, allocations: 294.8 kB / 1.026 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007694/0.9154, allocations: 356.8 kB / 1.026 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004327/0.9198, allocations: 1.866 MB / 1.028 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.9198, allocations: 4 kB / 1.028 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9198, allocations: 0 / 1.028 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.317e-05/0.9199, allocations: 0 / 1.028 GB, free: 4.137 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005322/0.9252, allocations: 1.871 MB / 1.029 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.805e-05/0.9253, allocations: 8.031 kB / 1.03 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003226/0.9257, allocations: 143.7 kB / 1.03 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.9306, allocations: 0.6457 MB / 1.03 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.9343, allocations: 1.23 MB / 1.031 GB, free: 116 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.9346, allocations: 137.5 kB / 1.032 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.9349, allocations: 104 kB / 1.032 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.939, allocations: 1.326 MB / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.9391, allocations: 3.938 kB / 1.033 GB, free: 14.5 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.9392, allocations: 43.94 kB / 1.033 GB, free: 14.45 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.9393, allocations: 24 kB / 1.033 GB, free: 14.43 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004676/0.944, allocations: 1.37 MB / 1.034 GB, free: 13.06 MB / 0.795 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.007714/0.9517, allocations: 5.386 MB / 1.04 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005579/0.9573, allocations: 1.512 MB / 1.041 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.9583, allocations: 1.232 MB / 1.042 GB, free: 4.254 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002104/0.9605, allocations: 0.6823 MB / 1.043 GB, free: 3.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=69): time 4.077e-06/0.9605, allocations: 4 kB / 1.043 GB, free: 3.559 MB / 0.795 GB Notification: Performance of matching and sorting (n=69): time 0.00522/0.9657, allocations: 1.77 MB / 1.045 GB, free: 1.781 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.9658, allocations: 67.92 kB / 1.045 GB, free: 1.703 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.968, allocations: 1.263 MB / 1.046 GB, free: 440 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.9682, allocations: 45.7 kB / 1.046 GB, free: 388 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007646/0.969, allocations: 0.6541 MB / 1.047 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.9693, allocations: 236.6 kB / 1.047 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.9694, allocations: 16 kB / 1.047 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9696, allocations: 341.9 kB / 1.047 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.9712, allocations: 0.5406 MB / 1.048 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.973, allocations: 0.7625 MB / 1.049 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.9747, allocations: 0.598 MB / 1.049 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.9747, allocations: 0 / 1.049 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004096/0.9788, allocations: 1.446 MB / 1.051 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005421/0.9794, allocations: 1.204 MB / 1.052 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9794, allocations: 4 kB / 1.052 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.9794, allocations: 8 kB / 1.052 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.9807, allocations: 275.7 kB / 1.052 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/0.9807, allocations: 15.92 kB / 1.052 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.9826, allocations: 235.1 kB / 1.052 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.9827, allocations: 43.97 kB / 1.052 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9828, allocations: 4 kB / 1.052 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003561/0.9863, allocations: 1.294 MB / 1.054 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.9863, allocations: 4.312 kB / 1.054 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.9864, allocations: 8 kB / 1.054 GB, free: 8.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.9877, allocations: 283.6 kB / 1.054 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.9877, allocations: 4 kB / 1.054 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.9895, allocations: 235 kB / 1.054 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.9897, allocations: 47.91 kB / 1.054 GB, free: 7.961 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008439/0.9905, allocations: 411.1 kB / 1.055 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004524/0.991, allocations: 146.2 kB / 1.055 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.9952, allocations: 1.512 MB / 1.056 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.9952, allocations: 8 kB / 1.056 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9952, allocations: 0 / 1.056 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/0.9986, allocations: 1.285 MB / 1.057 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/1.006, allocations: 3.252 MB / 1.061 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.007, allocations: 4 kB / 1.061 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.008, allocations: 236.2 kB / 1.061 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/1.008, allocations: 8 kB / 1.061 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/1.008, allocations: 31.97 kB / 1.061 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.008, allocations: 8 kB / 1.061 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.008, allocations: 15.89 kB / 1.061 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005962/1.014, allocations: 2.576 MB / 1.063 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009596/1.015, allocations: 374.8 kB / 1.064 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/1.015, allocations: 23.98 kB / 1.064 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.017, allocations: 183.7 kB / 1.064 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/1.017, allocations: 72.41 kB / 1.064 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.017, allocations: 43.97 kB / 1.064 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00176/1.019, allocations: 0.9008 MB / 1.065 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 1.065 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002615/1.022, allocations: 0.7914 MB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007801/1.029, allocations: 4.695 MB / 1.07 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005659/1.035, allocations: 2.07 MB / 1.072 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.035, allocations: 0 / 1.072 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.037, allocations: 0.7069 MB / 1.073 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/1.041, allocations: 0.7383 MB / 1.074 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008504/1.05, allocations: 5.776 MB / 1.079 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.051, allocations: 1.253 MB / 1.081 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002002/1.053, allocations: 362.8 kB / 1.081 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009051/1.054, allocations: 0.5735 MB / 1.081 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of SimCode: time 1.423e-06/1.054, allocations: 0 / 1.081 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07826/1.132, allocations: 41.71 MB / 1.122 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/1.132, allocations: 211.3 kB / 1.122 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.113, allocations: 1.375 kB / 1.122 GB, free: 1.668 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat does not exist to compare? outputFormat=mat