Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.00113/0.001131, 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.001036/0.001036, allocations: 186.9 kB / 16.62 MB, free: 6.582 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.342/1.342, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.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.001569/0.001569, allocations: 72.28 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2179, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.0227/0.2407, allocations: 20.42 MB / 0.8036 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.2524, allocations: 7.577 MB / 0.811 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.2541, allocations: 59.81 kB / 0.811 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.2574, allocations: 1.352 MB / 0.8124 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.2597, allocations: 0.9724 MB / 0.8133 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.2639, allocations: 2.001 MB / 0.8153 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004276/0.2682, allocations: 4.316 MB / 0.8195 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006548/0.2748, allocations: 6.258 MB / 0.8256 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.2775, allocations: 1.843 MB / 0.8274 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.2803, allocations: 2.201 MB / 0.8295 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005464/0.2809, allocations: 428 kB / 0.8299 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.2824, allocations: 0.9128 MB / 0.8308 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.2838, allocations: 1.657 MB / 0.8325 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.2855, allocations: 1.716 MB / 0.8341 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.291, allocations: 6.17 MB / 0.8402 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.291, allocations: 0 / 0.8402 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.344e-06/0.291, allocations: 0 / 0.8402 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001086/0.2911, allocations: 0 / 0.8402 GB, free: 3.156 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005657/0.2968, allocations: 3.047 MB / 0.8431 GB, free: 48 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2968, allocations: 8.031 kB / 0.8431 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005436/0.2974, allocations: 446 kB / 0.8436 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.3002, allocations: 0.6883 MB / 0.8442 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.3028, allocations: 1.555 MB / 0.8458 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.3029, allocations: 222.2 kB / 0.846 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005215/0.3035, allocations: 284.3 kB / 0.8462 GB, free: 12.81 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007488/0.311, allocations: 5.047 MB / 0.8512 GB, free: 7.574 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.336e-05/0.3111, allocations: 11.84 kB / 0.8512 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.3114, allocations: 120 kB / 0.8513 GB, free: 7.445 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002165/0.3116, allocations: 204.6 kB / 0.8515 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.3179, allocations: 4.177 MB / 0.8556 GB, free: 3.051 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.341, allocations: 22.87 MB / 0.8779 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.3436, allocations: 1.712 MB / 0.8796 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.3451, allocations: 1.134 MB / 0.8807 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.3453, allocations: 105.7 kB / 0.8808 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.3453, allocations: 43.22 kB / 0.8808 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.945e-06/0.3453, allocations: 3.938 kB / 0.8808 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.00549/0.3508, allocations: 3.989 MB / 0.8847 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.3509, allocations: 141.1 kB / 0.8848 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.3519, allocations: 0.8448 MB / 0.8857 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.482e-05/0.352, allocations: 41.7 kB / 0.8857 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006294/0.3526, allocations: 1.158 MB / 0.8868 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.3529, allocations: 323.5 kB / 0.8872 GB, free: 388 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.3533, allocations: 270.5 kB / 0.8874 GB, free: 112 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.3535, allocations: 406.7 kB / 0.8878 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.3545, allocations: 0.8023 MB / 0.8886 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3559, allocations: 1.295 MB / 0.8898 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.3584, allocations: 2.136 MB / 0.8919 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3584, allocations: 4 kB / 0.8919 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003076/0.3615, allocations: 2.168 MB / 0.8941 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3615, allocations: 12 kB / 0.8941 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.3616, allocations: 16 kB / 0.8941 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.535e-05/0.3616, allocations: 24 kB / 0.8941 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.3631, allocations: 411.3 kB / 0.8945 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.3632, allocations: 31.86 kB / 0.8945 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.3644, allocations: 199.3 kB / 0.8947 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.3645, allocations: 55.98 kB / 0.8948 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002358/0.3669, allocations: 1.663 MB / 0.8964 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.3681, allocations: 1.166 MB / 0.8975 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002138/0.3703, allocations: 1.89 MB / 0.8994 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.766e-06/0.3703, allocations: 4 kB / 0.8994 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002772/0.3731, allocations: 1.886 MB / 0.9012 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3731, allocations: 12 kB / 0.9012 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3731, allocations: 12 kB / 0.9012 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3731, allocations: 24 kB / 0.9013 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3744, allocations: 360 kB / 0.9016 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/0.3744, allocations: 39.86 kB / 0.9017 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.3754, allocations: 155.4 kB / 0.9018 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.3755, allocations: 59.98 kB / 0.9019 GB, free: 432 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0004115/0.3759, allocations: 263.8 kB / 0.9021 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.3762, allocations: 98.78 kB / 0.9022 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.3788, allocations: 1.846 MB / 0.904 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3788, allocations: 11.94 kB / 0.904 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3788, allocations: 0 / 0.904 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3788, allocations: 7.984 kB / 0.904 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.3904, allocations: 9.572 MB / 0.9134 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.3904, allocations: 12 kB / 0.9134 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.3916, allocations: 308.3 kB / 0.9137 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.3916, allocations: 19.94 kB / 0.9137 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/0.3917, allocations: 36 kB / 0.9137 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.139e-05/0.3917, allocations: 31.8 kB / 0.9138 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.3917, allocations: 15.94 kB / 0.9138 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.3943, allocations: 2.402 MB / 0.9161 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/0.3948, allocations: 375.6 kB / 0.9165 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.395, allocations: 32 kB / 0.9165 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/0.3958, allocations: 135.7 kB / 0.9166 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.396, allocations: 87.67 kB / 0.9167 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.175e-05/0.3961, allocations: 40 kB / 0.9168 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007179/0.3968, allocations: 0.5927 MB / 0.9173 GB, free: 120 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3968, allocations: 0 / 0.9173 GB, free: 120 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.3761/0.7729, allocations: 0.7415 MB / 0.9181 GB, free: 127.4 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 (90): * Single equations (assignments): 90 * 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.003168/0.7761, allocations: 2.977 MB / 0.921 GB, free: 126.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004252/0.7804, allocations: 2.866 MB / 0.9238 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.7804, allocations: 6.438 kB / 0.9238 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.7815, allocations: 0.9025 MB / 0.9247 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.7832, allocations: 305.4 kB / 0.925 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.8046, allocations: 15.08 MB / 0.9397 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.8068, allocations: 2.126 MB / 0.9418 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001823/0.8086, allocations: 0.7361 MB / 0.9425 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009173/0.8096, allocations: 0.8252 MB / 0.9433 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/0.8096, allocations: 0 / 0.9433 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.8578, allocations: 31.63 MB / 0.9742 GB, free: 97.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.494/10.35, allocations: 8.594 kB / 0.9742 GB, free: 97.68 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)