Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.001463/0.001463, 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.001654/0.001655, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.389/1.389, 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.673/1.673, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001378/0.001378, allocations: 67.58 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2166, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.005825/0.2225, allocations: 4.332 MB / 0.7879 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004264/0.2268, allocations: 2.701 MB / 0.7905 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.2273, allocations: 11.94 kB / 0.7905 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.2284, allocations: 376.9 kB / 0.7909 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008958/0.2293, allocations: 394.1 kB / 0.7913 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.2305, allocations: 0.5137 MB / 0.7918 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.2313, allocations: 0.7241 MB / 0.7925 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005191/0.2318, allocations: 375.8 kB / 0.7928 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.2321, allocations: 279 kB / 0.7931 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004791/0.2326, allocations: 346.8 kB / 0.7934 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.2327, allocations: 40 kB / 0.7935 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.2332, allocations: 319.3 kB / 0.7938 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.2334, allocations: 191.5 kB / 0.7939 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.2336, allocations: 266.6 kB / 0.7942 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008438/0.2345, allocations: 0.732 MB / 0.7949 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2345, allocations: 4 kB / 0.7949 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2345, allocations: 0 / 0.7949 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.2345, allocations: 0 / 0.7949 GB, free: 1.629 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001494/0.236, allocations: 0.8378 MB / 0.7957 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2361, allocations: 16.03 kB / 0.7957 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.605e-05/0.2362, allocations: 86.7 kB / 0.7958 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008731/0.2371, allocations: 148.1 kB / 0.796 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.2376, allocations: 382.9 kB / 0.7963 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.2376, allocations: 29.38 kB / 0.7964 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.2377, allocations: 48.41 kB / 0.7964 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.239, allocations: 0.8283 MB / 0.7972 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.2391, allocations: 11.88 kB / 0.7972 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.2392, allocations: 19.98 kB / 0.7972 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.2393, allocations: 64.95 kB / 0.7973 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.2412, allocations: 0.6711 MB / 0.798 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.2452, allocations: 4.48 MB / 0.8023 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.2465, allocations: 0.6142 MB / 0.8029 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005308/0.247, allocations: 305.3 kB / 0.8032 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.2471, allocations: 8 kB / 0.8032 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2471, allocations: 34.55 kB / 0.8033 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 1.993e-06/0.2471, allocations: 4 kB / 0.8033 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.002028/0.2491, allocations: 0.9421 MB / 0.8042 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.2492, allocations: 85.3 kB / 0.8043 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.2496, allocations: 349.5 kB / 0.8046 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2496, allocations: 33.7 kB / 0.8046 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.2499, allocations: 283.8 kB / 0.8049 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2501, allocations: 142 kB / 0.8051 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.2502, allocations: 110.1 kB / 0.8052 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2504, allocations: 350.7 kB / 0.8055 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/0.251, allocations: 282.8 kB / 0.8058 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.2516, allocations: 484 kB / 0.8062 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.253, allocations: 0.7742 MB / 0.807 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.253, allocations: 0 / 0.807 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001456/0.2545, allocations: 0.7935 MB / 0.8078 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2545, allocations: 8 kB / 0.8078 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2545, allocations: 8 kB / 0.8078 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2545, allocations: 11.94 kB / 0.8078 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.2553, allocations: 175.7 kB / 0.8079 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.2553, allocations: 11.94 kB / 0.808 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.2557, allocations: 71.7 kB / 0.808 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.2558, allocations: 36.08 kB / 0.8081 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005904/0.2564, allocations: 357.7 kB / 0.8084 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005918/0.257, allocations: 443.7 kB / 0.8088 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001098/0.2581, allocations: 0.6788 MB / 0.8095 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.2581, allocations: 4 kB / 0.8095 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001241/0.2594, allocations: 0.6818 MB / 0.8102 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2594, allocations: 8 kB / 0.8102 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2594, allocations: 4.875 kB / 0.8102 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2594, allocations: 15.98 kB / 0.8102 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.26, allocations: 159.8 kB / 0.8103 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2601, allocations: 11.94 kB / 0.8103 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.2605, allocations: 63.69 kB / 0.8104 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.2605, allocations: 24 kB / 0.8104 GB, free: 0.6914 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0001915/0.2607, allocations: 220 kB / 0.8106 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/0.2608, allocations: 43.53 kB / 0.8107 GB, free: 436 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.2621, allocations: 0.6421 MB / 0.8113 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.2621, allocations: 8 kB / 0.8113 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2622, allocations: 0 / 0.8113 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2622, allocations: 3.938 kB / 0.8113 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.2647, allocations: 1.458 MB / 0.8127 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.2648, allocations: 0 / 0.8127 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.2655, allocations: 147.7 kB / 0.8129 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.2655, allocations: 4 kB / 0.8129 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.2656, allocations: 19.92 kB / 0.8129 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.2656, allocations: 7.938 kB / 0.8129 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2656, allocations: 0 / 0.8129 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.2668, allocations: 0.7963 MB / 0.8137 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.2671, allocations: 176.4 kB / 0.8139 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.2671, allocations: 11.94 kB / 0.8139 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.2675, allocations: 47.92 kB / 0.8139 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.2677, allocations: 39.95 kB / 0.814 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2677, allocations: 8 kB / 0.814 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002504/0.2679, allocations: 255.2 kB / 0.8142 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2679, allocations: 0 / 0.8142 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008095/0.2688, allocations: 196 kB / 0.8144 GB, free: 12.49 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 42 * 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.0017/0.2705, allocations: 1.357 MB / 0.8157 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.2724, allocations: 0.9785 MB / 0.8167 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.2724, allocations: 0 / 0.8167 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.273, allocations: 303.5 kB / 0.817 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.2738, allocations: 127.6 kB / 0.8171 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/0.2812, allocations: 4.813 MB / 0.8218 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.2818, allocations: 0.8872 MB / 0.8227 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006456/0.2824, allocations: 204 kB / 0.8228 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.2827, allocations: 151.4 kB / 0.823 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/0.2827, allocations: 0 / 0.823 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.3131, allocations: 10.52 MB / 0.8333 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.812/9.126, allocations: 7.609 kB / 0.8333 GB, free: 9.008 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)