Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001124/0.001124, allocations: 108 kB / 15.6 MB, free: 132 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.001209/0.001209, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.488/1.488, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.676/1.676, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.00177/0.00177, allocations: 69.16 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2569, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0422/0.2991, allocations: 37.26 MB / 0.8199 GB, free: 8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.3232, allocations: 13.58 MB / 0.8331 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004866/0.3281, allocations: 111.6 kB / 0.8332 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.007554/0.3357, allocations: 2.282 MB / 0.8355 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004624/0.3403, allocations: 1.404 MB / 0.8368 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008873/0.3493, allocations: 3.513 MB / 0.8403 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007779/0.3571, allocations: 6.387 MB / 0.8465 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01347/0.3706, allocations: 10.02 MB / 0.8563 GB, free: 2.496 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.3755, allocations: 2.731 MB / 0.859 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006879/0.3825, allocations: 3.198 MB / 0.8621 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002335/0.3848, allocations: 0.6172 MB / 0.8627 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.3888, allocations: 1.225 MB / 0.8639 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004771/0.3936, allocations: 2.488 MB / 0.8663 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005783/0.3994, allocations: 2.545 MB / 0.8688 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.4118, allocations: 9.084 MB / 0.8777 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/0.4118, allocations: 0 / 0.8777 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4119, allocations: 3.938 kB / 0.8777 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003098/0.4122, allocations: 0 / 0.8777 GB, free: 12.55 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01323/0.4254, allocations: 4.299 MB / 0.8819 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4255, allocations: 8.031 kB / 0.8819 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.427, allocations: 0.6326 MB / 0.8825 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.4314, allocations: 0.9442 MB / 0.8834 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004897/0.4363, allocations: 2.19 MB / 0.8856 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/0.4366, allocations: 325 kB / 0.8859 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.4381, allocations: 424.3 kB / 0.8863 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.4525, allocations: 7.369 MB / 0.8935 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.4526, allocations: 7.938 kB / 0.8935 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005647/0.4532, allocations: 188 kB / 0.8937 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003268/0.4535, allocations: 282.9 kB / 0.8939 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.4644, allocations: 5.967 MB / 0.8998 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3897/0.8541, allocations: 32.62 MB / 0.9316 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/0.8575, allocations: 2.109 MB / 0.9337 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.859, allocations: 1.242 MB / 0.9349 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.8591, allocations: 104 kB / 0.935 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.8592, allocations: 47.25 kB / 0.935 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.647e-06/0.8592, allocations: 3.406 kB / 0.935 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.007195/0.8664, allocations: 5.23 MB / 0.9401 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.8665, allocations: 145.8 kB / 0.9403 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.8684, allocations: 1.457 MB / 0.9417 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.8685, allocations: 42.05 kB / 0.9417 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.8697, allocations: 1.858 MB / 0.9435 GB, free: 109.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/0.8701, allocations: 371.8 kB / 0.9439 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007874/0.8709, allocations: 467.6 kB / 0.9443 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.871, allocations: 306.7 kB / 0.9446 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.8728, allocations: 1.116 MB / 0.9457 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.8755, allocations: 2.179 MB / 0.9479 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004204/0.8797, allocations: 3.412 MB / 0.9512 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/0.8797, allocations: 10.22 kB / 0.9512 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00542/0.8852, allocations: 3.31 MB / 0.9544 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.8852, allocations: 18.81 kB / 0.9545 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.014e-05/0.8853, allocations: 37.33 kB / 0.9545 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.938e-05/0.8854, allocations: 47.53 kB / 0.9545 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.8874, allocations: 0.6203 MB / 0.9551 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.959e-05/0.8875, allocations: 74.14 kB / 0.9552 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.8896, allocations: 305.6 kB / 0.9555 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002101/0.8898, allocations: 120.3 kB / 0.9556 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003684/0.8935, allocations: 2.401 MB / 0.958 GB, free: 101.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00178/0.8953, allocations: 2.015 MB / 0.9599 GB, free: 100 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002859/0.8982, allocations: 3.031 MB / 0.9629 GB, free: 97.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.509e-05/0.8982, allocations: 9.375 kB / 0.9629 GB, free: 97.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003785/0.902, allocations: 2.919 MB / 0.9657 GB, free: 96.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.9021, allocations: 19 kB / 0.9658 GB, free: 96.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/0.9021, allocations: 34.84 kB / 0.9658 GB, free: 96.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.9022, allocations: 52.81 kB / 0.9658 GB, free: 96.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.9037, allocations: 0.5556 MB / 0.9664 GB, free: 96.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.752e-05/0.9037, allocations: 71.31 kB / 0.9665 GB, free: 96.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.9054, allocations: 253.2 kB / 0.9667 GB, free: 96.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.9055, allocations: 114.5 kB / 0.9668 GB, free: 95.99 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.0005249/0.906, allocations: 334.6 kB / 0.9671 GB, free: 95.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.9063, allocations: 152.9 kB / 0.9673 GB, free: 95.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.9089, allocations: 2.233 MB / 0.9695 GB, free: 94.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.909, allocations: 11.06 kB / 0.9695 GB, free: 94.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.909, allocations: 4.938 kB / 0.9695 GB, free: 94.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.909, allocations: 6.484 kB / 0.9695 GB, free: 94.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.9219, allocations: 10.97 MB / 0.9802 GB, free: 87.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.922, allocations: 15.84 kB / 0.9802 GB, free: 87.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/0.9234, allocations: 386.2 kB / 0.9806 GB, free: 87.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/0.9234, allocations: 18.36 kB / 0.9806 GB, free: 87.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.443e-05/0.9235, allocations: 39.38 kB / 0.9806 GB, free: 87.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.7e-05/0.9235, allocations: 19.81 kB / 0.9806 GB, free: 87.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.9235, allocations: 15.84 kB / 0.9807 GB, free: 87.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.9272, allocations: 2.763 MB / 0.9834 GB, free: 85.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.9283, allocations: 450.8 kB / 0.9838 GB, free: 85.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.9287, allocations: 39.89 kB / 0.9838 GB, free: 85.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.93, allocations: 163.7 kB / 0.984 GB, free: 85.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.9304, allocations: 96.17 kB / 0.9841 GB, free: 84.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.9305, allocations: 43.98 kB / 0.9841 GB, free: 84.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001798/0.9323, allocations: 0.9742 MB / 0.9851 GB, free: 83.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9323, allocations: 0 / 0.9851 GB, free: 83.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004417/0.9368, allocations: 1.129 MB / 0.9862 GB, free: 82.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.002588/0.9394, allocations: 3.334 MB / 0.9894 GB, free: 79.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004975/0.9444, allocations: 4.239 MB / 0.9936 GB, free: 75.08 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.9444, allocations: 1.75 kB / 0.9936 GB, free: 75.08 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.9455, allocations: 1.062 MB / 0.9946 GB, free: 74.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.9479, allocations: 446.8 kB / 0.995 GB, free: 73.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/0.9733, allocations: 22.65 MB / 1.017 GB, free: 49.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/0.9759, allocations: 2.865 MB / 1.02 GB, free: 46.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002734/0.9786, allocations: 1.209 MB / 1.021 GB, free: 45.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.98, allocations: 1.276 MB / 1.022 GB, free: 43.77 MB / 0.7325 GB Notification: Performance of SimCode: time 7.62e-07/0.98, allocations: 0 / 1.022 GB, free: 43.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06744/1.047, allocations: 45.9 MB / 1.067 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/9.4, allocations: 11 kB / 1.067 GB, free: 14.28 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)