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.001056/0.001057, allocations: 105.4 kB / 15.7 MB, free: 24 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.001015/0.001016, allocations: 189.7 kB / 16.64 MB, free: 6.594 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.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.62/1.62, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001416/0.001416, allocations: 70.91 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2077, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005472/0.2132, allocations: 4.207 MB / 0.7878 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.2171, allocations: 2.693 MB / 0.7904 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.2173, allocations: 11.94 kB / 0.7904 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.2184, allocations: 362.3 kB / 0.7907 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007941/0.2192, allocations: 386.2 kB / 0.7911 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.2203, allocations: 0.5092 MB / 0.7916 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.221, allocations: 0.6968 MB / 0.7923 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004983/0.2215, allocations: 355.3 kB / 0.7926 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.2218, allocations: 263 kB / 0.7929 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004778/0.2223, allocations: 334.8 kB / 0.7932 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.93e-05/0.2224, allocations: 40 kB / 0.7932 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.2229, allocations: 315.3 kB / 0.7935 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.2231, allocations: 195.5 kB / 0.7937 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.2233, allocations: 250.7 kB / 0.794 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006721/0.224, allocations: 0.7164 MB / 0.7947 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.224, allocations: 0 / 0.7947 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.224, allocations: 0 / 0.7947 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.224, allocations: 0 / 0.7947 GB, free: 1.93 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001228/0.2253, allocations: 0.8068 MB / 0.7954 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2253, allocations: 12.03 kB / 0.7955 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.36e-05/0.2254, allocations: 90.64 kB / 0.7955 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.2262, allocations: 148.1 kB / 0.7957 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.2267, allocations: 371.1 kB / 0.796 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.2267, allocations: 37.38 kB / 0.7961 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.2268, allocations: 40.36 kB / 0.7961 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.2281, allocations: 0.8135 MB / 0.7969 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.2281, allocations: 7.938 kB / 0.7969 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.467e-05/0.2282, allocations: 19.98 kB / 0.7969 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.2284, allocations: 64.61 kB / 0.797 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.2301, allocations: 0.6462 MB / 0.7976 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00583/0.236, allocations: 4.631 MB / 0.8022 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.2374, allocations: 497 kB / 0.8026 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.2382, allocations: 273.5 kB / 0.8029 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.2382, allocations: 3.984 kB / 0.8029 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.2383, allocations: 38.56 kB / 0.8029 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/0.2383, allocations: 3.938 kB / 0.8029 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.002674/0.241, allocations: 0.867 MB / 0.8038 GB, free: 8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.2411, allocations: 85.03 kB / 0.8039 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.2416, allocations: 365.5 kB / 0.8042 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.2417, allocations: 29.7 kB / 0.8042 GB, free: 7.496 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.2419, allocations: 295.2 kB / 0.8045 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2421, allocations: 122.3 kB / 0.8046 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.2423, allocations: 114 kB / 0.8047 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2425, allocations: 350.7 kB / 0.8051 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.2433, allocations: 254.9 kB / 0.8053 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009319/0.2442, allocations: 474.5 kB / 0.8058 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.2459, allocations: 0.7504 MB / 0.8065 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.2459, allocations: 8 kB / 0.8065 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002053/0.248, allocations: 0.7578 MB / 0.8073 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.248, allocations: 8.875 kB / 0.8073 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.2481, allocations: 8 kB / 0.8073 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.2481, allocations: 12 kB / 0.8073 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.2491, allocations: 167.7 kB / 0.8074 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.2491, allocations: 11.94 kB / 0.8075 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.2496, allocations: 63.78 kB / 0.8075 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.2496, allocations: 27.98 kB / 0.8075 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000504/0.2501, allocations: 349 kB / 0.8079 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004816/0.2506, allocations: 437.4 kB / 0.8083 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008576/0.2515, allocations: 0.658 MB / 0.8089 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.2515, allocations: 4 kB / 0.8089 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001044/0.2526, allocations: 0.6636 MB / 0.8096 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2526, allocations: 8.938 kB / 0.8096 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2526, allocations: 8 kB / 0.8096 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2526, allocations: 19.98 kB / 0.8096 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.2531, allocations: 143.7 kB / 0.8098 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.2531, allocations: 20.42 kB / 0.8098 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.2535, allocations: 51.81 kB / 0.8098 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.2535, allocations: 31.98 kB / 0.8099 GB, free: 1.277 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.0001495/0.2537, allocations: 220 kB / 0.8101 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.2538, allocations: 39.53 kB / 0.8101 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.2549, allocations: 0.5727 MB / 0.8107 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2549, allocations: 11.88 kB / 0.8107 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2549, allocations: 0 / 0.8107 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.2549, allocations: 3.984 kB / 0.8107 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.2574, allocations: 1.602 MB / 0.8122 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2574, allocations: 4 kB / 0.8122 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.258, allocations: 111.8 kB / 0.8124 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.258, allocations: 4 kB / 0.8124 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.258, allocations: 12 kB / 0.8124 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.258, allocations: 4 kB / 0.8124 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.258, allocations: 7.938 kB / 0.8124 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2591, allocations: 0.7903 MB / 0.8131 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.2593, allocations: 164.4 kB / 0.8133 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.397e-05/0.2594, allocations: 19.92 kB / 0.8133 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.2598, allocations: 43.94 kB / 0.8134 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.2599, allocations: 35.84 kB / 0.8134 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.2599, allocations: 12 kB / 0.8134 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002262/0.2601, allocations: 259.2 kB / 0.8137 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2601, allocations: 0 / 0.8137 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007982/0.2609, allocations: 188 kB / 0.8138 GB, free: 13.01 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.001239/0.2622, allocations: 1.341 MB / 0.8151 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.2637, allocations: 0.9206 MB / 0.816 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2637, allocations: 4 kB / 0.8161 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.2642, allocations: 268.4 kB / 0.8163 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/0.265, allocations: 125.2 kB / 0.8164 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005392/0.2704, allocations: 4.737 MB / 0.8211 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.2708, allocations: 0.8708 MB / 0.8219 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004756/0.2713, allocations: 200.1 kB / 0.8221 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.2715, allocations: 151.4 kB / 0.8222 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.2715, allocations: 0 / 0.8222 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.2996, allocations: 9.802 MB / 0.8318 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.244, allocations: 9.719 kB / 0.8318 GB, free: 10.31 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)