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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 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.001174/0.001174, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.54/1.54, allocations: 205.1 MB / 222.4 MB, free: 4.605 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 2.044/2.044, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.002578/0.002578, allocations: 67.92 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2393, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005901/0.2452, allocations: 4.208 MB / 0.7876 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004916/0.2502, allocations: 2.681 MB / 0.7902 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.2506, allocations: 11.94 kB / 0.7902 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.2518, allocations: 377.4 kB / 0.7906 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.2527, allocations: 390.2 kB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.2542, allocations: 0.5107 MB / 0.7914 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000936/0.2551, allocations: 0.6929 MB / 0.7921 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005427/0.2557, allocations: 351.3 kB / 0.7925 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.256, allocations: 263.1 kB / 0.7927 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.2565, allocations: 338.8 kB / 0.793 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.2566, allocations: 36 kB / 0.7931 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.2571, allocations: 307.4 kB / 0.7934 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.2573, allocations: 195.4 kB / 0.7935 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.2575, allocations: 258.7 kB / 0.7938 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007253/0.2583, allocations: 0.7048 MB / 0.7945 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2583, allocations: 0 / 0.7945 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2583, allocations: 0 / 0.7945 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.2583, allocations: 0 / 0.7945 GB, free: 2.023 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.001455/0.2598, allocations: 0.8029 MB / 0.7953 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.2598, allocations: 19.97 kB / 0.7953 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.2599, allocations: 82.7 kB / 0.7954 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.2608, allocations: 148.1 kB / 0.7955 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.2613, allocations: 367.1 kB / 0.7959 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2614, allocations: 25.38 kB / 0.7959 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.2615, allocations: 44.36 kB / 0.7959 GB, free: 464 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.2626, allocations: 0.8135 MB / 0.7967 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.2626, allocations: 15.88 kB / 0.7967 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.417e-05/0.2627, allocations: 23.98 kB / 0.7968 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.2628, allocations: 60.61 kB / 0.7968 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2639, allocations: 0.637 MB / 0.7974 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.2674, allocations: 4.647 MB / 0.802 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009335/0.2684, allocations: 0.4892 MB / 0.8024 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004473/0.2688, allocations: 273.5 kB / 0.8027 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.2689, allocations: 4 kB / 0.8027 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.2689, allocations: 38.56 kB / 0.8028 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.2689, allocations: 0 / 0.8028 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.00167/0.2706, allocations: 0.8672 MB / 0.8036 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.2706, allocations: 89.03 kB / 0.8037 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.271, allocations: 361.5 kB / 0.804 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.271, allocations: 33.7 kB / 0.8041 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2712, allocations: 291 kB / 0.8043 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.2713, allocations: 122.3 kB / 0.8045 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.2714, allocations: 110 kB / 0.8046 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2716, allocations: 358.7 kB / 0.8049 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/0.272, allocations: 254.9 kB / 0.8051 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005518/0.2726, allocations: 474.5 kB / 0.8056 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2736, allocations: 0.7504 MB / 0.8063 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2737, allocations: 0 / 0.8063 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001231/0.2749, allocations: 0.7622 MB / 0.8071 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2749, allocations: 8 kB / 0.8071 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2749, allocations: 8 kB / 0.8071 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.275, allocations: 8 kB / 0.8071 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.2756, allocations: 167.7 kB / 0.8073 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.2756, allocations: 15.94 kB / 0.8073 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.2761, allocations: 64.19 kB / 0.8073 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.2761, allocations: 31.98 kB / 0.8074 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005034/0.2766, allocations: 349 kB / 0.8077 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004952/0.2771, allocations: 445.2 kB / 0.8081 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008899/0.278, allocations: 0.658 MB / 0.8088 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.2781, allocations: 4 kB / 0.8088 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001098/0.2792, allocations: 0.6562 MB / 0.8094 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2792, allocations: 12.03 kB / 0.8094 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2792, allocations: 15.92 kB / 0.8094 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.2792, allocations: 12 kB / 0.8094 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.2797, allocations: 147.7 kB / 0.8096 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2797, allocations: 11.94 kB / 0.8096 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.2801, allocations: 59.8 kB / 0.8097 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.2802, allocations: 27.98 kB / 0.8097 GB, free: 1.367 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.0001651/0.2803, allocations: 227.9 kB / 0.8099 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.2804, allocations: 43.53 kB / 0.8099 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2815, allocations: 0.5609 MB / 0.8105 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2815, allocations: 4 kB / 0.8105 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2815, allocations: 0 / 0.8105 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2815, allocations: 4 kB / 0.8105 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.2839, allocations: 1.604 MB / 0.8121 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.2839, allocations: 8.453 kB / 0.8121 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.2845, allocations: 111.8 kB / 0.8122 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2845, allocations: 8 kB / 0.8122 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.2845, allocations: 12 kB / 0.8122 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.2845, allocations: 8 kB / 0.8122 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2845, allocations: 7.938 kB / 0.8122 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.2856, allocations: 0.7836 MB / 0.813 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.2858, allocations: 168.4 kB / 0.8131 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.2859, allocations: 15.92 kB / 0.8132 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.2863, allocations: 47.94 kB / 0.8132 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2864, allocations: 35.84 kB / 0.8132 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.2865, allocations: 12 kB / 0.8132 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002657/0.2867, allocations: 255.2 kB / 0.8135 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2867, allocations: 0 / 0.8135 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008448/0.2876, allocations: 192 kB / 0.8137 GB, free: 13.09 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.001333/0.2889, allocations: 1.345 MB / 0.815 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.2907, allocations: 0.9396 MB / 0.8159 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.2907, allocations: 0 / 0.8159 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005017/0.2912, allocations: 268.9 kB / 0.8162 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.292, allocations: 121.6 kB / 0.8163 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.2982, allocations: 4.776 MB / 0.8209 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.2987, allocations: 0.867 MB / 0.8218 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005523/0.2993, allocations: 200 kB / 0.822 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.2996, allocations: 147.4 kB / 0.8221 GB, free: 4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.312e-06/0.2996, allocations: 0 / 0.8221 GB, free: 4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3295, allocations: 9.782 MB / 0.8317 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.061, allocations: 4.469 kB / 0.8317 GB, free: 10.36 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)