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.001193/0.001194, allocations: 105.4 kB / 15.7 MB, free: 28 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.001222/0.001223, allocations: 186.3 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.354/1.354, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.632/1.632, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.0015/0.0015, allocations: 70.03 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2094, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03838/0.2478, allocations: 37.25 MB / 0.82 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.2682, allocations: 13.58 MB / 0.8333 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004312/0.2726, allocations: 115.6 kB / 0.8334 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006335/0.279, allocations: 2.272 MB / 0.8356 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.2833, allocations: 1.408 MB / 0.837 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009105/0.2924, allocations: 3.523 MB / 0.8404 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008685/0.3011, allocations: 6.379 MB / 0.8467 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01218/0.3134, allocations: 10.03 MB / 0.8565 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.3178, allocations: 2.739 MB / 0.8591 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005024/0.3229, allocations: 3.202 MB / 0.8623 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.324, allocations: 0.6172 MB / 0.8629 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.3265, allocations: 1.221 MB / 0.8641 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002911/0.3294, allocations: 2.488 MB / 0.8665 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003859/0.3333, allocations: 2.545 MB / 0.869 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009507/0.3428, allocations: 9.147 MB / 0.8779 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3429, allocations: 0 / 0.8779 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3429, allocations: 4 kB / 0.8779 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002111/0.3431, allocations: 0 / 0.8779 GB, free: 12.33 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.009499/0.3526, allocations: 4.299 MB / 0.8821 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.3527, allocations: 11.97 kB / 0.8821 GB, free: 7.953 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/0.3537, allocations: 0.6404 MB / 0.8827 GB, free: 7.301 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/0.3576, allocations: 0.9442 MB / 0.8837 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/0.362, allocations: 2.229 MB / 0.8858 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.3623, allocations: 325 kB / 0.8861 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3633, allocations: 428.3 kB / 0.8866 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.3787, allocations: 7.358 MB / 0.8937 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.992e-05/0.3788, allocations: 7.938 kB / 0.8938 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000471/0.3793, allocations: 188 kB / 0.8939 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/0.3797, allocations: 286.9 kB / 0.8942 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009739/0.3894, allocations: 5.963 MB / 0.9 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3704/0.7598, allocations: 32.36 MB / 0.9316 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.763, allocations: 2.111 MB / 0.9337 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.7644, allocations: 1.231 MB / 0.9349 GB, free: 114.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.7645, allocations: 110.9 kB / 0.935 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.7646, allocations: 51.91 kB / 0.935 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=98): time 3.516e-06/0.7646, allocations: 0 / 0.935 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=101): time 0.006264/0.7709, allocations: 5.227 MB / 0.9401 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.7709, allocations: 145.4 kB / 0.9403 GB, free: 111.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.7727, allocations: 1.457 MB / 0.9417 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.757e-05/0.7728, allocations: 42.98 kB / 0.9417 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.774, allocations: 1.858 MB / 0.9436 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003367/0.7743, allocations: 376.3 kB / 0.9439 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007398/0.7751, allocations: 460 kB / 0.9444 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.7752, allocations: 302 kB / 0.9446 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.7769, allocations: 1.119 MB / 0.9457 GB, free: 108.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.7798, allocations: 2.184 MB / 0.9479 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/0.7842, allocations: 3.404 MB / 0.9512 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.759e-05/0.7843, allocations: 10.47 kB / 0.9512 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004762/0.789, allocations: 3.311 MB / 0.9544 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.7891, allocations: 22.72 kB / 0.9545 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.479e-05/0.7892, allocations: 33.09 kB / 0.9545 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.202e-05/0.7892, allocations: 52.88 kB / 0.9545 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.7913, allocations: 0.6205 MB / 0.9552 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-05/0.7914, allocations: 74.75 kB / 0.9552 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.7933, allocations: 313.6 kB / 0.9555 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.7935, allocations: 112.5 kB / 0.9556 GB, free: 102.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003404/0.7969, allocations: 2.405 MB / 0.958 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00164/0.7986, allocations: 2.01 MB / 0.9599 GB, free: 99.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00267/0.8013, allocations: 3.031 MB / 0.9629 GB, free: 97.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-05/0.8013, allocations: 13.42 kB / 0.9629 GB, free: 97.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.003629/0.8049, allocations: 2.929 MB / 0.9658 GB, free: 96.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.805, allocations: 19.41 kB / 0.9658 GB, free: 96.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.805, allocations: 35.38 kB / 0.9658 GB, free: 96.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.805, allocations: 51.56 kB / 0.9659 GB, free: 96.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.8065, allocations: 0.5564 MB / 0.9664 GB, free: 96.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/0.8066, allocations: 70.97 kB / 0.9665 GB, free: 96.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.8082, allocations: 245.3 kB / 0.9667 GB, free: 95.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.8083, allocations: 120.4 kB / 0.9668 GB, free: 95.89 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.0005393/0.8088, allocations: 334.9 kB / 0.9672 GB, free: 95.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.8091, allocations: 152.8 kB / 0.9673 GB, free: 95.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.8117, allocations: 2.223 MB / 0.9695 GB, free: 94.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8117, allocations: 11.94 kB / 0.9695 GB, free: 94.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.8117, allocations: 8.906 kB / 0.9695 GB, free: 94.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.8117, allocations: 5.734 kB / 0.9695 GB, free: 94.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.8229, allocations: 10.97 MB / 0.9802 GB, free: 87.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.823, allocations: 11.34 kB / 0.9802 GB, free: 87.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.8242, allocations: 384 kB / 0.9806 GB, free: 87.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.8243, allocations: 15.84 kB / 0.9806 GB, free: 87.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.8244, allocations: 35.77 kB / 0.9806 GB, free: 87.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/0.8244, allocations: 20.78 kB / 0.9807 GB, free: 87.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.8244, allocations: 19.84 kB / 0.9807 GB, free: 87.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/0.8269, allocations: 2.765 MB / 0.9834 GB, free: 85.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.8275, allocations: 450.8 kB / 0.9838 GB, free: 85.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.8277, allocations: 35.16 kB / 0.9838 GB, free: 85.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/0.8286, allocations: 171.7 kB / 0.984 GB, free: 84.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.8288, allocations: 92.23 kB / 0.9841 GB, free: 84.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.8289, allocations: 43.98 kB / 0.9841 GB, free: 84.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000954/0.8299, allocations: 0.9742 MB / 0.9851 GB, free: 83.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8299, allocations: 0 / 0.9851 GB, free: 83.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003347/0.8332, allocations: 1.129 MB / 0.9862 GB, free: 82.68 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.002417/0.8356, allocations: 3.338 MB / 0.9894 GB, free: 79.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004248/0.8399, allocations: 4.018 MB / 0.9934 GB, free: 75.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.8399, allocations: 0 / 0.9934 GB, free: 75.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.8409, allocations: 1.056 MB / 0.9944 GB, free: 74.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.843, allocations: 452.3 kB / 0.9948 GB, free: 73.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/0.8649, allocations: 21.6 MB / 1.016 GB, free: 50.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/0.867, allocations: 2.868 MB / 1.019 GB, free: 47.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002249/0.8693, allocations: 1.207 MB / 1.02 GB, free: 46.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/0.8705, allocations: 1.269 MB / 1.021 GB, free: 45.32 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.8706, allocations: 3.5 kB / 1.021 GB, free: 45.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05677/0.9273, allocations: 45.93 MB / 1.066 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.972/10.9, allocations: 6.812 kB / 1.066 GB, free: 15.85 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)