Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.001136/0.001137, 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.001092/0.001092, allocations: 187.9 kB / 16.62 MB, free: 6.609 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.512/1.512, 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.656/1.656, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001626/0.001626, allocations: 68.02 kB / 0.6718 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2229, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0181/0.241, allocations: 16.02 MB / 0.7993 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008873/0.2499, allocations: 4.864 MB / 0.804 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.2516, allocations: 67.62 kB / 0.8041 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.2548, allocations: 1.045 MB / 0.8051 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.2571, allocations: 0.7385 MB / 0.8058 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.2601, allocations: 0.919 MB / 0.8067 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004298/0.2644, allocations: 3.614 MB / 0.8103 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0061/0.2705, allocations: 4.801 MB / 0.8149 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.2733, allocations: 1.578 MB / 0.8165 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.2763, allocations: 1.784 MB / 0.8182 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009787/0.2773, allocations: 340 kB / 0.8186 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.2796, allocations: 0.7958 MB / 0.8193 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.2816, allocations: 1.326 MB / 0.8206 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002848/0.2845, allocations: 1.455 MB / 0.822 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005688/0.2902, allocations: 5.126 MB / 0.8271 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.2903, allocations: 0 / 0.8271 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2903, allocations: 0 / 0.8271 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001589/0.2905, allocations: 0 / 0.8271 GB, free: 0.5898 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.007166/0.2976, allocations: 2.662 MB / 0.8297 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.2977, allocations: 12.03 kB / 0.8297 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001112/0.2988, allocations: 374.5 kB / 0.83 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.3034, allocations: 0.8328 MB / 0.8308 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.3068, allocations: 1.568 MB / 0.8324 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.307, allocations: 177.1 kB / 0.8325 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008612/0.3079, allocations: 228.4 kB / 0.8328 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008039/0.3159, allocations: 4.173 MB / 0.8368 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.854e-05/0.3161, allocations: 4 kB / 0.8368 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00041/0.3165, allocations: 104 kB / 0.8369 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.3167, allocations: 164.5 kB / 0.8371 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006564/0.3232, allocations: 3.632 MB / 0.8406 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.3436, allocations: 16.42 MB / 0.8567 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.3471, allocations: 2.296 MB / 0.8589 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009431/0.3481, allocations: 0.5859 MB / 0.8595 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.3483, allocations: 93.58 kB / 0.8596 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3483, allocations: 43.11 kB / 0.8596 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 3.015e-06/0.3483, allocations: 0 / 0.8596 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.006587/0.3549, allocations: 3.428 MB / 0.863 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.355, allocations: 115.4 kB / 0.8631 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.3566, allocations: 1.018 MB / 0.8641 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.3568, allocations: 33.7 kB / 0.8641 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/0.3575, allocations: 1.107 MB / 0.8652 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.3578, allocations: 268.2 kB / 0.8654 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004821/0.3583, allocations: 287.2 kB / 0.8657 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3585, allocations: 414.7 kB / 0.8661 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.3595, allocations: 0.6167 MB / 0.8667 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.3609, allocations: 1.185 MB / 0.8679 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.3632, allocations: 1.868 MB / 0.8697 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/0.3633, allocations: 4 kB / 0.8697 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003593/0.3669, allocations: 2.019 MB / 0.8717 GB, free: 216 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.367, allocations: 12 kB / 0.8717 GB, free: 204 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/0.367, allocations: 23.98 kB / 0.8717 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.3675, allocations: 163.2 kB / 0.8719 GB, free: 4 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3687, allocations: 343.4 kB / 0.8722 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.403e-05/0.3688, allocations: 44.02 kB / 0.8722 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3699, allocations: 131.7 kB / 0.8723 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.3701, allocations: 71.98 kB / 0.8724 GB, free: 15.43 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001465/0.3716, allocations: 0.9806 MB / 0.8734 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.3719, allocations: 106.7 kB / 0.8735 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.374, allocations: 1.23 MB / 0.8747 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.3741, allocations: 8 kB / 0.8747 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.3741, allocations: 3.984 kB / 0.8747 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.3741, allocations: 3.984 kB / 0.8747 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006219/0.3803, allocations: 3.798 MB / 0.8784 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3804, allocations: 4 kB / 0.8784 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.381, allocations: 155.8 kB / 0.8786 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/0.3814, allocations: 143.3 kB / 0.8787 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.012e-05/0.3815, allocations: 12 kB / 0.8787 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.504e-05/0.3815, allocations: 15.92 kB / 0.8787 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3816, allocations: 4.125 kB / 0.8787 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.3837, allocations: 1.461 MB / 0.8801 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.3842, allocations: 275.7 kB / 0.8804 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/0.3845, allocations: 23.98 kB / 0.8804 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.3852, allocations: 63.91 kB / 0.8805 GB, free: 6.883 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3854, allocations: 60.36 kB / 0.8806 GB, free: 6.824 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.3855, allocations: 24 kB / 0.8806 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001043/0.3865, allocations: 0.6953 MB / 0.8813 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3866, allocations: 0 / 0.8813 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001661/0.3882, allocations: 392 kB / 0.8816 GB, free: 5.711 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002584/0.3908, allocations: 2.037 MB / 0.8836 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.3934, allocations: 1.719 MB / 0.8853 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.3934, allocations: 0 / 0.8853 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.3944, allocations: 0.858 MB / 0.8861 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.3963, allocations: 274.1 kB / 0.8864 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.4182, allocations: 12.85 MB / 0.8989 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/0.4208, allocations: 1.916 MB / 0.9008 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001186/0.4221, allocations: 449.4 kB / 0.9012 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.4232, allocations: 0.7141 MB / 0.9019 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.243e-06/0.4232, allocations: 3.938 kB / 0.9019 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4448/0.868, allocations: 27.3 MB / 0.9286 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.66, allocations: 10.83 kB / 0.9286 GB, free: 129.4 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)