Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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.0008311/0.000831, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.00103/0.00103, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000776/0.000776, allocations: 15.69 kB / 0.6738 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2447, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.001766/0.2465, allocations: 1.301 MB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.2467, allocations: 55.81 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.2467, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.2467, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.2468, allocations: 11.88 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.785e-05/0.2469, allocations: 19.97 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.201e-05/0.247, allocations: 59.78 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.2471, allocations: 16.17 kB / 0.7889 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.2472, allocations: 27.84 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.2472, allocations: 27.84 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.2473, allocations: 4 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2473, allocations: 4 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2473, allocations: 11.92 kB / 0.7889 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.2473, allocations: 37.7 kB / 0.789 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.057e-05/0.2474, allocations: 44.14 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2475, allocations: 0 / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2475, allocations: 0 / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2475, allocations: 0 / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006033/0.2481, allocations: 403.1 kB / 0.7894 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2481, allocations: 8.031 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.2482, allocations: 38.5 kB / 0.7894 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.2482, allocations: 7.906 kB / 0.7894 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2484, allocations: 186.9 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2484, allocations: 4 kB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2484, allocations: 4 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.2487, allocations: 105.6 kB / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2487, allocations: 0 / 0.7897 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2488, allocations: 4 kB / 0.7897 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2488, allocations: 8 kB / 0.7897 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.2492, allocations: 131.8 kB / 0.7899 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.2497, allocations: 308.7 kB / 0.7902 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.25, allocations: 106.5 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.2502, allocations: 76.92 kB / 0.7903 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.2503, allocations: 4 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2503, allocations: 38.56 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2503, allocations: 0 / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007494/0.251, allocations: 233.4 kB / 0.7906 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.2511, allocations: 59.41 kB / 0.7907 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2512, allocations: 113.8 kB / 0.7908 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2513, allocations: 33.64 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.2514, allocations: 96.06 kB / 0.7909 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.2514, allocations: 23.72 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.2514, allocations: 3.938 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2516, allocations: 314.8 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.2518, allocations: 67.95 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.252, allocations: 63.94 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2523, allocations: 71.94 kB / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2523, allocations: 0 / 0.7914 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004399/0.2527, allocations: 169.6 kB / 0.7916 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2527, allocations: 4 kB / 0.7916 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2527, allocations: 0 / 0.7916 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2528, allocations: 0 / 0.7916 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2529, allocations: 35.97 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.2529, allocations: 0 / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.2531, allocations: 35.81 kB / 0.7916 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.2531, allocations: 7.891 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.2532, allocations: 118.4 kB / 0.7918 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2532, allocations: 8 kB / 0.7918 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.2533, allocations: 12.36 kB / 0.7918 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2533, allocations: 3.984 kB / 0.7918 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2533, allocations: 0 / 0.7918 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2533, allocations: 4.438 kB / 0.7918 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2535, allocations: 189.5 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2535, allocations: 0 / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2537, allocations: 43.97 kB / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2537, allocations: 0 / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2537, allocations: 0 / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2537, allocations: 3.984 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2537, allocations: 4 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.2542, allocations: 267.3 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.2543, allocations: 85 kB / 0.7924 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.2544, allocations: 8 kB / 0.7924 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2545, allocations: 19.98 kB / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.2546, allocations: 7.984 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.2546, allocations: 8 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.89e-05/0.2547, allocations: 95.2 kB / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2547, allocations: 0 / 0.7925 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002232/0.2549, allocations: 12 kB / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000868/0.2558, allocations: 0.8099 MB / 0.7933 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.2562, allocations: 143.9 kB / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2562, allocations: 0 / 0.7934 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.2564, allocations: 71.95 kB / 0.7935 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2568, allocations: 15.98 kB / 0.7935 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.2573, allocations: 209.5 kB / 0.7937 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2576, allocations: 0.6926 MB / 0.7944 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.627e-05/0.2577, allocations: 4 kB / 0.7944 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.2577, allocations: 23.42 kB / 0.7944 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2577, allocations: 0 / 0.7944 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0123/0.27, allocations: 1.732 MB / 0.7961 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.2703, allocations: 226.5 kB / 0.7963 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.087, allocations: 0 / 0.7963 GB, free: 2.438 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) Environment - environmentSimulation: