Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001841/0.001841, allocations: 113 kB / 18.94 MB, free: 2.934 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.001563/0.001563, allocations: 209.5 kB / 22.25 MB, free: 5.086 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 8.012 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.002528/0.002528, allocations: 297 kB / 312.7 MB, free: 2.805 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.232/1.232, allocations: 180.6 MB / 0.5369 GB, free: 12.92 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.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.002943/0.002943, allocations: 101.5 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1742, allocations: 95.39 MB / 0.8328 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04348/0.2177, allocations: 34.81 MB / 0.8667 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02689/0.2446, allocations: 15.31 MB / 0.8817 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004085/0.2486, allocations: 202.4 kB / 0.8819 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.2593, allocations: 3.823 MB / 0.8856 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009374/0.2686, allocations: 3.014 MB / 0.8886 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007145/0.2758, allocations: 2.384 MB / 0.8909 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.2886, allocations: 8.816 MB / 0.8995 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009775/0.2983, allocations: 5.545 MB / 0.9049 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008241/0.3066, allocations: 4.074 MB / 0.9089 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008698/0.3153, allocations: 4.268 MB / 0.9131 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00266/0.3179, allocations: 0.7188 MB / 0.9138 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005049/0.323, allocations: 1.744 MB / 0.9155 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004611/0.3276, allocations: 2.895 MB / 0.9183 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006145/0.3337, allocations: 3.392 MB / 0.9216 GB, free: 13.23 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.3499, allocations: 11.23 MB / 0.9326 GB, free: 1.969 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3499, allocations: 0 / 0.9326 GB, free: 1.969 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3499, allocations: 0 / 0.9326 GB, free: 1.969 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003878/0.3503, allocations: 0 / 0.9326 GB, free: 1.969 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01618/0.3665, allocations: 6.057 MB / 0.9385 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3666, allocations: 13.34 kB / 0.9385 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002698/0.3692, allocations: 0.7232 MB / 0.9392 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008198/0.3774, allocations: 1.172 MB / 0.9404 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008901/0.3863, allocations: 3.47 MB / 0.9437 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003889/0.3867, allocations: 370.4 kB / 0.9441 GB, free: 6 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.3886, allocations: 499.9 kB / 0.9446 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01668/0.4052, allocations: 8.009 MB / 0.9524 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.4054, allocations: 15.89 kB / 0.9524 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007462/0.4062, allocations: 216 kB / 0.9526 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001058/0.4072, allocations: 445.5 kB / 0.953 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.4208, allocations: 6.077 MB / 0.959 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/0.4679, allocations: 34.65 MB / 0.9928 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4094/0.8773, allocations: 1.913 MB / 0.9947 GB, free: 145.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/0.8799, allocations: 1.747 MB / 0.9964 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.88, allocations: 18.16 kB / 0.9964 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.88, allocations: 65.34 kB / 0.9965 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 4.068e-06/0.88, allocations: 1.125 kB / 0.9965 GB, free: 145.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1337/1.014, allocations: 38.7 MB / 1.034 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/1.014, allocations: 81.52 kB / 1.034 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/1.016, allocations: 2.283 MB / 1.037 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003203/1.017, allocations: 73.7 kB / 1.037 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009772/1.018, allocations: 2.335 MB / 1.039 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007012/1.018, allocations: 0.9854 MB / 1.04 GB, free: 123 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007087/1.019, allocations: 0.5064 MB / 1.04 GB, free: 122.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.818e-05/1.019, allocations: 301.1 kB / 1.041 GB, free: 122.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/1.021, allocations: 1.971 MB / 1.043 GB, free: 120.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/1.023, allocations: 2.606 MB / 1.045 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004649/1.028, allocations: 4.929 MB / 1.05 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.028, allocations: 12.55 kB / 1.05 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01215/1.04, allocations: 7.646 MB / 1.057 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/1.04, allocations: 12 kB / 1.057 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/1.04, allocations: 20 kB / 1.057 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007927/1.048, allocations: 3.216 MB / 1.061 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.05, allocations: 403.8 kB / 1.061 GB, free: 100.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03361/1.083, allocations: 33.3 MB / 1.093 GB, free: 66.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/1.086, allocations: 159.8 kB / 1.094 GB, free: 66.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/1.086, allocations: 108 kB / 1.094 GB, free: 66.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002242/1.088, allocations: 1.798 MB / 1.096 GB, free: 64.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/1.089, allocations: 347.1 kB / 1.096 GB, free: 64.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.1, allocations: 7.239 MB / 1.103 GB, free: 57.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.1, allocations: 30.25 kB / 1.103 GB, free: 57.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-05/1.1, allocations: 32 kB / 1.103 GB, free: 57.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.251e-05/1.1, allocations: 15.89 kB / 1.103 GB, free: 57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.119, allocations: 12.79 MB / 1.115 GB, free: 44.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.119, allocations: 8 kB / 1.115 GB, free: 44.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008881/1.12, allocations: 239.3 kB / 1.116 GB, free: 43.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006933/1.127, allocations: 2.845 MB / 1.118 GB, free: 40.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/1.127, allocations: 56 kB / 1.119 GB, free: 40.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03202/1.159, allocations: 32.08 MB / 1.15 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.159, allocations: 19.88 kB / 1.15 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.169, allocations: 6.79 MB / 1.157 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/1.172, allocations: 0.7247 MB / 1.157 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008137/1.172, allocations: 52 kB / 1.157 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.174, allocations: 163.8 kB / 1.157 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007486/1.175, allocations: 269.3 kB / 1.158 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.175, allocations: 76 kB / 1.158 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002372/1.178, allocations: 1.529 MB / 1.159 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.178, allocations: 0 / 1.159 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004847/1.182, allocations: 1.367 MB / 1.161 GB, free: 12.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01334/1.196, allocations: 7.415 MB / 1.168 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.209, allocations: 6.562 MB / 1.174 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/1.209, allocations: 4 kB / 1.174 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.008826/1.217, allocations: 4.254 MB / 1.178 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/1.222, allocations: 1.137 MB / 1.18 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08038/1.303, allocations: 39.06 MB / 1.218 GB, free: 1.137 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005691/1.308, allocations: 3.644 MB / 1.221 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002078/1.311, allocations: 0.5595 MB / 1.222 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003189/1.314, allocations: 1.968 MB / 1.224 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of SimCode: time 1.082e-06/1.314, allocations: 4 kB / 1.224 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2383/1.552, allocations: 115.5 MB / 1.336 GB, free: 8.668 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/19.25, allocations: 3.938 kB / 1.336 GB, free: 8.664 MB / 0.92 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_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_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.89110276700012] Failed to read output from testmodel.py, exit status != 0: 19.41944941100155 19.73121734 19.378210438 Calling exit ...