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.001218/0.001218, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.00132/0.00132, allocations: 212 kB / 19.43 MB, free: 3.637 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.361/1.361, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002376, allocations: 283.6 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.145/1.145, allocations: 180.9 MB / 0.5333 GB, free: 13.89 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002681/0.002681, allocations: 103.4 kB / 0.7342 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.15, allocations: 95.35 MB / 0.8274 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01971/0.1697, allocations: 16.28 MB / 0.8433 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008236/0.1779, allocations: 4.91 MB / 0.848 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.1795, allocations: 87.31 kB / 0.8481 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.1825, allocations: 1.058 MB / 0.8492 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.1843, allocations: 0.7816 MB / 0.8499 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.1865, allocations: 0.9194 MB / 0.8508 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004015/0.1905, allocations: 3.614 MB / 0.8544 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004768/0.1952, allocations: 3.567 MB / 0.8578 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.1977, allocations: 1.609 MB / 0.8594 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/0.2006, allocations: 1.889 MB / 0.8613 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007173/0.2013, allocations: 340 kB / 0.8616 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.2031, allocations: 0.8075 MB / 0.8624 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001808/0.2049, allocations: 1.364 MB / 0.8637 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.2075, allocations: 1.455 MB / 0.8651 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006209/0.2137, allocations: 5.152 MB / 0.8702 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2137, allocations: 0 / 0.8702 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2137, allocations: 0 / 0.8702 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001189/0.2138, allocations: 0 / 0.8702 GB, free: 13.85 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.005173/0.219, allocations: 2.702 MB / 0.8728 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.219, allocations: 8.031 kB / 0.8728 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004843/0.2195, allocations: 382.4 kB / 0.8732 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.2234, allocations: 0.8537 MB / 0.874 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.2261, allocations: 1.568 MB / 0.8755 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.2262, allocations: 181.1 kB / 0.8757 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.2266, allocations: 232.4 kB / 0.8759 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/0.233, allocations: 4.166 MB / 0.88 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-05/0.233, allocations: 7.938 kB / 0.88 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.2333, allocations: 95.98 kB / 0.8801 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/0.2335, allocations: 172.5 kB / 0.8803 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005666/0.2392, allocations: 3.628 MB / 0.8838 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/0.2576, allocations: 16.45 MB / 0.8999 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.261, allocations: 2.242 MB / 0.902 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008474/0.2618, allocations: 0.5473 MB / 0.9026 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.2619, allocations: 89.67 kB / 0.9027 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.262, allocations: 55.05 kB / 0.9027 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=72): time 2.354e-06/0.262, allocations: 0 / 0.9027 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.005464/0.2674, allocations: 3.499 MB / 0.9061 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.2675, allocations: 115.4 kB / 0.9062 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2688, allocations: 1.018 MB / 0.9072 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.2688, allocations: 41.7 kB / 0.9073 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/0.2696, allocations: 1.134 MB / 0.9084 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.2698, allocations: 289.6 kB / 0.9087 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.2702, allocations: 279.4 kB / 0.9089 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002186/0.2704, allocations: 414.7 kB / 0.9093 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009278/0.2714, allocations: 0.6167 MB / 0.9099 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.2727, allocations: 1.185 MB / 0.9111 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.2751, allocations: 1.868 MB / 0.9129 GB, free: 15.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.2751, allocations: 8 kB / 0.9129 GB, free: 15.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00321/0.2783, allocations: 2.023 MB / 0.9149 GB, free: 13.35 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.2783, allocations: 14.19 kB / 0.9149 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.2783, allocations: 23.98 kB / 0.9149 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.2788, allocations: 163.3 kB / 0.9151 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2799, allocations: 343.4 kB / 0.9154 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-05/0.2799, allocations: 44.11 kB / 0.9155 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/0.2808, allocations: 123.8 kB / 0.9156 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.2809, allocations: 68 kB / 0.9156 GB, free: 12.57 MB / 0.67 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.001345/0.2823, allocations: 0.9815 MB / 0.9166 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.2825, allocations: 119.2 kB / 0.9167 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.2846, allocations: 1.218 MB / 0.9179 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.2846, allocations: 12 kB / 0.9179 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2846, allocations: 7.922 kB / 0.9179 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.2846, allocations: 3.984 kB / 0.9179 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/0.2901, allocations: 3.798 MB / 0.9216 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.2901, allocations: 7.938 kB / 0.9216 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.2907, allocations: 159.8 kB / 0.9218 GB, free: 6.094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.291, allocations: 135.3 kB / 0.9219 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.2911, allocations: 16 kB / 0.9219 GB, free: 5.934 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.2911, allocations: 11.92 kB / 0.9219 GB, free: 5.922 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.2911, allocations: 12.06 kB / 0.922 GB, free: 5.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.2931, allocations: 1.462 MB / 0.9234 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.2935, allocations: 272.4 kB / 0.9236 GB, free: 4.105 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.2936, allocations: 23.98 kB / 0.9237 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.2942, allocations: 63.91 kB / 0.9237 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.2943, allocations: 64.3 kB / 0.9238 GB, free: 3.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.2944, allocations: 24 kB / 0.9238 GB, free: 3.934 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008911/0.2952, allocations: 0.6914 MB / 0.9245 GB, free: 3.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.2952, allocations: 0 / 0.9245 GB, free: 3.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001266/0.2965, allocations: 392 kB / 0.9249 GB, free: 2.848 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.002364/0.2989, allocations: 2.045 MB / 0.9269 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.3012, allocations: 1.653 MB / 0.9285 GB, free: 15 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3012, allocations: 4 kB / 0.9285 GB, free: 15 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009833/0.3022, allocations: 0.8306 MB / 0.9293 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.3035, allocations: 276.5 kB / 0.9296 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.3212, allocations: 12.91 MB / 0.9422 GB, free: 176 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.3229, allocations: 1.916 MB / 0.944 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001001/0.3239, allocations: 461.4 kB / 0.9445 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/0.3248, allocations: 0.7102 MB / 0.9452 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/0.3248, allocations: 0 / 0.9452 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0595/0.3843, allocations: 28.09 MB / 0.9726 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.44, allocations: 7.625 kB / 0.9726 GB, free: 1.324 MB / 0.7169 GB " [Timeout remaining time 648] (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: 15.328300918918103] Failed to read output from testmodel.py, exit status != 0: 11.53723417269066 11.559192327 11.341383346 Calling exit ...