Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002586/0.002586, allocations: 284.5 kB / 312.7 MB, free: 2.59 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.252/1.252, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003019/0.003019, allocations: 99.22 kB / 0.7395 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1657, allocations: 95.38 MB / 0.8326 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02097/0.1866, allocations: 15.47 MB / 0.8478 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00892/0.1956, allocations: 4.778 MB / 0.8524 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009802/0.1965, allocations: 87.38 kB / 0.8525 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.1994, allocations: 1.044 MB / 0.8535 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.2015, allocations: 0.7855 MB / 0.8543 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.2041, allocations: 0.9176 MB / 0.8552 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004633/0.2087, allocations: 3.614 MB / 0.8587 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003556/0.2122, allocations: 2.442 MB / 0.8611 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.2147, allocations: 1.625 MB / 0.8627 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.2174, allocations: 1.791 MB / 0.8644 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005392/0.2179, allocations: 340 kB / 0.8648 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.2195, allocations: 0.7412 MB / 0.8655 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.2209, allocations: 1.364 MB / 0.8668 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.2227, allocations: 1.183 MB / 0.868 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.2291, allocations: 5.167 MB / 0.873 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2291, allocations: 0 / 0.873 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2291, allocations: 0 / 0.873 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.43e-05/0.2292, allocations: 0 / 0.873 GB, free: 14.76 MB / 0.6231 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.00523/0.2344, allocations: 2.63 MB / 0.8756 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.2345, allocations: 13.34 kB / 0.8756 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000516/0.235, allocations: 382.4 kB / 0.876 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.2392, allocations: 0.842 MB / 0.8768 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.2431, allocations: 1.535 MB / 0.8783 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.2432, allocations: 177.1 kB / 0.8785 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006959/0.2439, allocations: 228.4 kB / 0.8787 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008043/0.252, allocations: 4.273 MB / 0.8828 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.91e-05/0.252, allocations: 7.938 kB / 0.8829 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002647/0.2523, allocations: 99.92 kB / 0.883 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/0.2525, allocations: 168.5 kB / 0.8831 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006279/0.2588, allocations: 3.624 MB / 0.8867 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.2762, allocations: 11.03 MB / 0.8974 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.2793, allocations: 1.461 MB / 0.8989 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009174/0.2802, allocations: 0.547 MB / 0.8994 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.2804, allocations: 20.66 kB / 0.8994 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.2804, allocations: 47.14 kB / 0.8995 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.2804, allocations: 4 kB / 0.8995 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005642/0.286, allocations: 3.201 MB / 0.9026 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.2861, allocations: 115.4 kB / 0.9027 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.2875, allocations: 1.057 MB / 0.9037 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.2876, allocations: 33.7 kB / 0.9038 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/0.2885, allocations: 1.142 MB / 0.9049 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.2887, allocations: 293.5 kB / 0.9052 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/0.2891, allocations: 283.4 kB / 0.9054 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002506/0.2894, allocations: 414.7 kB / 0.9058 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.2904, allocations: 0.6207 MB / 0.9064 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.2919, allocations: 1.182 MB / 0.9076 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.2944, allocations: 1.864 MB / 0.9094 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.2945, allocations: 16 kB / 0.9094 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003468/0.2979, allocations: 2.015 MB / 0.9114 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.298, allocations: 12 kB / 0.9114 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.298, allocations: 20 kB / 0.9114 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.2984, allocations: 163.9 kB / 0.9116 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.2996, allocations: 351.4 kB / 0.9119 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.264e-05/0.2997, allocations: 39.86 kB / 0.9119 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.3007, allocations: 127.8 kB / 0.9121 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.3008, allocations: 67.98 kB / 0.9121 GB, free: 5.395 MB / 0.6544 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.001563/0.3024, allocations: 0.9778 MB / 0.9131 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.3027, allocations: 115.2 kB / 0.9132 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.3049, allocations: 1.234 MB / 0.9144 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3049, allocations: 8 kB / 0.9144 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.305, allocations: 7.938 kB / 0.9144 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.305, allocations: 3.984 kB / 0.9144 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/0.311, allocations: 3.443 MB / 0.9178 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.311, allocations: 0 / 0.9178 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.3116, allocations: 159.8 kB / 0.9179 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.312, allocations: 139.3 kB / 0.9181 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.312, allocations: 20 kB / 0.9181 GB, free: 15.15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.312, allocations: 7.938 kB / 0.9181 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.312, allocations: 8.188 kB / 0.9181 GB, free: 15.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.3142, allocations: 1.47 MB / 0.9195 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.3147, allocations: 199.2 kB / 0.9197 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.3149, allocations: 19.95 kB / 0.9197 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.3155, allocations: 63.91 kB / 0.9198 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.3156, allocations: 64.42 kB / 0.9199 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.3157, allocations: 20 kB / 0.9199 GB, free: 13.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001026/0.3167, allocations: 0.6992 MB / 0.9206 GB, free: 12.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3167, allocations: 4 kB / 0.9206 GB, free: 12.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001451/0.3182, allocations: 395.9 kB / 0.9209 GB, free: 12.15 MB / 0.67 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.002509/0.3207, allocations: 2.037 MB / 0.9229 GB, free: 10.05 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.323, allocations: 1.355 MB / 0.9243 GB, free: 8.684 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.323, allocations: 4 kB / 0.9243 GB, free: 8.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008912/0.3239, allocations: 0.5351 MB / 0.9248 GB, free: 8.137 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.3254, allocations: 276.2 kB / 0.9251 GB, free: 7.879 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.3445, allocations: 12.91 MB / 0.9377 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/0.3463, allocations: 1.34 MB / 0.939 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001126/0.3474, allocations: 449.4 kB / 0.9394 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009652/0.3484, allocations: 0.7102 MB / 0.9401 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.3484, allocations: 0 / 0.9401 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06688/0.4153, allocations: 29.2 MB / 0.9686 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.7, allocations: 7.969 kB / 0.9686 GB, free: 10.95 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.379010803997517] Failed to read output from testmodel.py, exit status != 0: 12.831312037073076 13.195317896 12.963168521 Calling exit ...