Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",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.001407/0.001408, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.333/1.333, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.65/1.65, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00139/0.00139, allocations: 78.95 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2177, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004272/0.222, allocations: 2.646 MB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.224, allocations: 1.345 MB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2242, allocations: 4 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.2249, allocations: 183.2 kB / 0.7877 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.2253, allocations: 159.3 kB / 0.7879 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.2257, allocations: 170.7 kB / 0.788 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.226, allocations: 271.1 kB / 0.7883 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.2264, allocations: 137.5 kB / 0.7884 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.2265, allocations: 103.6 kB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.2268, allocations: 131.5 kB / 0.7886 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.2269, allocations: 12 kB / 0.7887 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.2271, allocations: 147.7 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.2272, allocations: 63.8 kB / 0.7889 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.2273, allocations: 91.53 kB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.2277, allocations: 299.3 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2277, allocations: 0 / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2277, allocations: 0 / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2277, allocations: 0 / 0.7892 GB, free: 7.52 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008285/0.2286, allocations: 498.9 kB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2286, allocations: 8.031 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.004e-05/0.2287, allocations: 58.66 kB / 0.7898 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.2292, allocations: 64.67 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.2295, allocations: 242.8 kB / 0.7901 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2295, allocations: 12.64 kB / 0.7901 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.2295, allocations: 20.38 kB / 0.7901 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.23, allocations: 304.5 kB / 0.7904 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2301, allocations: 0 / 0.7904 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2301, allocations: 7.984 kB / 0.7904 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/0.2301, allocations: 36.25 kB / 0.7904 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.2306, allocations: 256.6 kB / 0.7907 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.2322, allocations: 1.497 MB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.2327, allocations: 261 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.2329, allocations: 129.6 kB / 0.7925 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.233, allocations: 8 kB / 0.7925 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.233, allocations: 38.48 kB / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.233, allocations: 0 / 0.7925 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007423/0.2338, allocations: 337.3 kB / 0.7929 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.2338, allocations: 81.09 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.234, allocations: 175.1 kB / 0.7931 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.234, allocations: 25.7 kB / 0.7931 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.2341, allocations: 144.1 kB / 0.7933 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.2342, allocations: 55.2 kB / 0.7933 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.2342, allocations: 49.81 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2344, allocations: 330.7 kB / 0.7937 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.2346, allocations: 108.8 kB / 0.7938 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.2348, allocations: 171.5 kB / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.2353, allocations: 278.6 kB / 0.7942 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2353, allocations: 0 / 0.7942 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005503/0.2359, allocations: 312.1 kB / 0.7945 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.2359, allocations: 8.219 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2359, allocations: 4 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2359, allocations: 4 kB / 0.7945 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2362, allocations: 59.89 kB / 0.7946 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.2362, allocations: 4 kB / 0.7946 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2364, allocations: 27.81 kB / 0.7946 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.2365, allocations: 15.94 kB / 0.7946 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002602/0.2367, allocations: 192 kB / 0.7948 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002312/0.237, allocations: 155 kB / 0.795 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003896/0.2374, allocations: 251.5 kB / 0.7952 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-06/0.2374, allocations: 0 / 0.7952 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004828/0.2379, allocations: 283.4 kB / 0.7955 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.2379, allocations: 4 kB / 0.7955 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2379, allocations: 4 kB / 0.7955 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.2379, allocations: 4 kB / 0.7955 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.2381, allocations: 55.89 kB / 0.7955 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2381, allocations: 4.25 kB / 0.7956 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.2383, allocations: 27.83 kB / 0.7956 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2383, allocations: 11.94 kB / 0.7956 GB, free: 0.5195 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.0001141/0.2384, allocations: 193.9 kB / 0.7958 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.2385, allocations: 15.81 kB / 0.7958 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005345/0.239, allocations: 270.9 kB / 0.796 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2391, allocations: 0 / 0.796 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2391, allocations: 8 kB / 0.7961 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2391, allocations: 3.984 kB / 0.7961 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2401, allocations: 0.6693 MB / 0.7967 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2401, allocations: 4 kB / 0.7967 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/0.2403, allocations: 52.06 kB / 0.7968 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2404, allocations: 7.938 kB / 0.7968 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2404, allocations: 4 kB / 0.7968 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2404, allocations: 7.938 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2404, allocations: 4 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.241, allocations: 445.9 kB / 0.7972 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2411, allocations: 116.8 kB / 0.7973 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2411, allocations: 11.88 kB / 0.7973 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.2414, allocations: 23.97 kB / 0.7974 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.2414, allocations: 15.92 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.2415, allocations: 8 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000111/0.2416, allocations: 127.8 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2416, allocations: 4 kB / 0.7975 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000479/0.2421, allocations: 79.84 kB / 0.7976 GB, free: 14.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0008229/0.2429, allocations: 0.987 MB / 0.7985 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007213/0.2436, allocations: 375.5 kB / 0.7989 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2437, allocations: 0 / 0.7989 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.2439, allocations: 113 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.2443, allocations: 51.22 kB / 0.7991 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.2473, allocations: 2.466 MB / 0.8015 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2477, allocations: 0.748 MB / 0.8022 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002/0.2479, allocations: 73.47 kB / 0.8023 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.248, allocations: 51.42 kB / 0.8023 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of SimCode: time 9.21e-07/0.248, allocations: 0 / 0.8023 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.2696, allocations: 4.156 MB / 0.8064 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.915, allocations: 6.562 kB / 0.8064 GB, free: 5.254 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)