Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.0008167/0.0008167, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004581/0.004581, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.628/1.628, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006169/0.0006169, allocations: 14.94 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1835, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.004149/0.1877, allocations: 3.852 MB / 0.7918 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003599/0.1913, allocations: 2.67 MB / 0.7944 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1915, allocations: 11.94 kB / 0.7944 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1917, allocations: 63.48 kB / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.1923, allocations: 354.5 kB / 0.7948 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.1932, allocations: 490.9 kB / 0.7953 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008466/0.194, allocations: 0.9931 MB / 0.7962 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.1948, allocations: 0.5357 MB / 0.7967 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.195, allocations: 215.1 kB / 0.7969 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.1955, allocations: 330.8 kB / 0.7973 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1955, allocations: 20 kB / 0.7973 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.196, allocations: 383.1 kB / 0.7976 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.1961, allocations: 179.5 kB / 0.7978 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.1963, allocations: 248.5 kB / 0.7981 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.197, allocations: 0.7084 MB / 0.7987 GB, free: 396 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.197, allocations: 0 / 0.7987 GB, free: 396 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.655e-06/0.197, allocations: 0 / 0.7987 GB, free: 396 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.197, allocations: 7.875 kB / 0.7988 GB, free: 388 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001094/0.1981, allocations: 0.725 MB / 0.7995 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1981, allocations: 8.031 kB / 0.7995 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.842e-05/0.1982, allocations: 90.7 kB / 0.7996 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007969/0.199, allocations: 148.1 kB / 0.7997 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.1994, allocations: 359.1 kB / 0.8 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1995, allocations: 29.38 kB / 0.8001 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.1996, allocations: 52.28 kB / 0.8001 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.2007, allocations: 0.8291 MB / 0.8009 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2007, allocations: 3.984 kB / 0.8009 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/0.2007, allocations: 23.98 kB / 0.801 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.458e-05/0.2008, allocations: 64.61 kB / 0.801 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.2019, allocations: 0.658 MB / 0.8017 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.2054, allocations: 4.639 MB / 0.8062 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008915/0.2063, allocations: 0.4932 MB / 0.8067 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/0.2068, allocations: 285.5 kB / 0.8069 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.2068, allocations: 8 kB / 0.807 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2069, allocations: 38.56 kB / 0.807 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.2069, allocations: 0 / 0.807 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.001609/0.2085, allocations: 0.8896 MB / 0.8079 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2085, allocations: 85.09 kB / 0.8079 GB, free: 6.367 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.2089, allocations: 373.4 kB / 0.8083 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.2089, allocations: 29.7 kB / 0.8083 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.2091, allocations: 291 kB / 0.8086 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/0.2092, allocations: 122.3 kB / 0.8087 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.2093, allocations: 45.7 kB / 0.8088 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2094, allocations: 350.7 kB / 0.8091 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.2098, allocations: 272.9 kB / 0.8094 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.2104, allocations: 474.6 kB / 0.8098 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.2115, allocations: 0.7778 MB / 0.8106 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2115, allocations: 4 kB / 0.8106 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001258/0.2128, allocations: 0.7812 MB / 0.8113 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.213, allocations: 303.3 kB / 0.8116 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.213, allocations: 8 kB / 0.8116 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.213, allocations: 11.98 kB / 0.8116 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.2136, allocations: 163.8 kB / 0.8118 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.2137, allocations: 19.86 kB / 0.8118 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.2141, allocations: 71.78 kB / 0.8119 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.2141, allocations: 28 kB / 0.8119 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.2141, allocations: 3.984 kB / 0.8119 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009861/0.2151, allocations: 0.6198 MB / 0.8125 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2152, allocations: 8.875 kB / 0.8125 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2152, allocations: 11.94 kB / 0.8125 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.2157, allocations: 147.8 kB / 0.8127 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.2157, allocations: 19.92 kB / 0.8127 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.216, allocations: 55.8 kB / 0.8128 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.216, allocations: 24 kB / 0.8128 GB, free: 1.066 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.2163, allocations: 288.8 kB / 0.8131 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.2164, allocations: 39.53 kB / 0.8131 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.2174, allocations: 0.5929 MB / 0.8137 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2174, allocations: 4 kB / 0.8137 GB, free: 136 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2175, allocations: 4 kB / 0.8137 GB, free: 132 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2175, allocations: 12.02 kB / 0.8137 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.2197, allocations: 1.621 MB / 0.8153 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.2198, allocations: 4 kB / 0.8153 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.2203, allocations: 119.8 kB / 0.8154 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2203, allocations: 4 kB / 0.8154 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.2203, allocations: 8 kB / 0.8154 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2203, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2204, allocations: 7.938 kB / 0.8154 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2214, allocations: 0.8146 MB / 0.8162 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2216, allocations: 168.5 kB / 0.8164 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.2216, allocations: 8 kB / 0.8164 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.222, allocations: 55.94 kB / 0.8164 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.2221, allocations: 31.84 kB / 0.8165 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.2221, allocations: 16 kB / 0.8165 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000228/0.2224, allocations: 255.1 kB / 0.8167 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2224, allocations: 4 kB / 0.8167 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007083/0.2231, allocations: 192 kB / 0.8169 GB, free: 12.64 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.2243, allocations: 1.352 MB / 0.8182 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.2258, allocations: 0.9369 MB / 0.8191 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2258, allocations: 0 / 0.8191 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.2263, allocations: 280.6 kB / 0.8194 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.2272, allocations: 118.7 kB / 0.8195 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.2328, allocations: 5.032 MB / 0.8244 GB, free: 4.508 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.2332, allocations: 0.867 MB / 0.8253 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005034/0.2337, allocations: 200 kB / 0.8255 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.234, allocations: 147.4 kB / 0.8256 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.234, allocations: 0 / 0.8256 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4138/0.6478, allocations: 9.167 MB / 0.8346 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.6481, allocations: 209 kB / 0.8348 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.466, allocations: 0 / 0.8348 GB, free: 10.05 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)