Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001864/0.001864, 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.002411/0.002411, 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.785 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.002606/0.002606, allocations: 293.2 kB / 312.7 MB, free: 2.582 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: 14.52 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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.003048/0.003048, allocations: 105.8 kB / 0.7395 GB, free: 28.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1702, allocations: 95.38 MB / 0.8327 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02622/0.1964, allocations: 19.52 MB / 0.8517 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.2084, allocations: 6.481 MB / 0.858 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.2101, allocations: 115.1 kB / 0.8582 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005821/0.2159, allocations: 2.237 MB / 0.8603 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.2189, allocations: 1.244 MB / 0.8616 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.2219, allocations: 1.294 MB / 0.8628 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00568/0.2276, allocations: 4.843 MB / 0.8675 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004544/0.2321, allocations: 3.143 MB / 0.8706 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.2356, allocations: 2.166 MB / 0.8727 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004005/0.2396, allocations: 2.332 MB / 0.875 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008444/0.2404, allocations: 428 kB / 0.8754 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.2424, allocations: 0.9401 MB / 0.8763 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001878/0.2443, allocations: 1.722 MB / 0.878 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.2466, allocations: 1.545 MB / 0.8795 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007635/0.2542, allocations: 6.569 MB / 0.8859 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2542, allocations: 0 / 0.8859 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2542, allocations: 0 / 0.8859 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001255/0.2543, allocations: 0 / 0.8859 GB, free: 1.543 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007178/0.2615, allocations: 3.462 MB / 0.8893 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.2615, allocations: 9.344 kB / 0.8893 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006645/0.2622, allocations: 458.5 kB / 0.8898 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/0.2657, allocations: 0.6585 MB / 0.8904 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/0.2706, allocations: 1.993 MB / 0.8924 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.2708, allocations: 226.3 kB / 0.8926 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007029/0.2715, allocations: 296.1 kB / 0.8929 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.2846, allocations: 5.242 MB / 0.898 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.2848, allocations: 7.938 kB / 0.898 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009539/0.2858, allocations: 132 kB / 0.8981 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000522/0.2863, allocations: 229.7 kB / 0.8983 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00852/0.2948, allocations: 3.746 MB / 0.902 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02144/0.3162, allocations: 13.57 MB / 0.9152 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.3181, allocations: 1.234 MB / 0.9164 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.3196, allocations: 0.988 MB / 0.9174 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/0.3197, allocations: 13 kB / 0.9174 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.3197, allocations: 43.56 kB / 0.9175 GB, free: 484 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 3.025e-06/0.3197, allocations: 0 / 0.9175 GB, free: 484 kB / 0.6544 GB Notification: Performance of matching and sorting (n=138): time 0.0269/0.3466, allocations: 8.424 MB / 0.9257 GB, free: 8.047 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.3467, allocations: 64.72 kB / 0.9258 GB, free: 7.973 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.3484, allocations: 1.161 MB / 0.9269 GB, free: 6.805 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.3486, allocations: 53.7 kB / 0.9269 GB, free: 6.746 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.3497, allocations: 1.335 MB / 0.9282 GB, free: 5.398 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005276/0.3502, allocations: 0.4958 MB / 0.9287 GB, free: 4.898 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/0.3507, allocations: 287.5 kB / 0.929 GB, free: 4.613 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3508, allocations: 305.1 kB / 0.9293 GB, free: 4.312 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.3522, allocations: 0.9135 MB / 0.9302 GB, free: 3.398 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.3539, allocations: 1.326 MB / 0.9315 GB, free: 1.906 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.3572, allocations: 2.426 MB / 0.9338 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3572, allocations: 0 / 0.9338 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006336/0.3636, allocations: 3.437 MB / 0.9372 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.3636, allocations: 12 kB / 0.9372 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.3636, allocations: 15.98 kB / 0.9372 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003319/0.3669, allocations: 1.175 MB / 0.9384 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/0.3679, allocations: 263.5 kB / 0.9386 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.3868, allocations: 13.36 MB / 0.9517 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.3881, allocations: 87.91 kB / 0.9518 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.3882, allocations: 63.98 kB / 0.9518 GB, free: 12.55 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001738/0.39, allocations: 1.111 MB / 0.9529 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.3902, allocations: 174.9 kB / 0.9531 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005874/0.3961, allocations: 3.13 MB / 0.9561 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.3961, allocations: 16 kB / 0.9561 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/0.3962, allocations: 15.94 kB / 0.9562 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.3962, allocations: 7.969 kB / 0.9562 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.407, allocations: 5.917 MB / 0.9619 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.407, allocations: 4 kB / 0.9619 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.4076, allocations: 147.8 kB / 0.9621 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/0.4106, allocations: 1.067 MB / 0.9631 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.389e-05/0.4107, allocations: 28 kB / 0.9632 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.4288, allocations: 13.05 MB / 0.9759 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.4288, allocations: 11.92 kB / 0.9759 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005622/0.4344, allocations: 3.112 MB / 0.9789 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3791/0.8134, allocations: 360.8 kB / 0.9793 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/0.8139, allocations: 31.83 kB / 0.9793 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/0.8148, allocations: 80.25 kB / 0.9794 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.8152, allocations: 131.7 kB / 0.9795 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-05/0.8153, allocations: 36.78 kB / 0.9796 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00118/0.8164, allocations: 0.7656 MB / 0.9803 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.8164, allocations: 0 / 0.9803 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002493/0.8189, allocations: 0.6595 MB / 0.981 GB, free: 133.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005201/0.8241, allocations: 3.708 MB / 0.9846 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004283/0.8284, allocations: 3.012 MB / 0.9875 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/0.8284, allocations: 0 / 0.9875 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.8312, allocations: 1.884 MB / 0.9894 GB, free: 131 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.8333, allocations: 0.4963 MB / 0.9898 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/0.8624, allocations: 19.19 MB / 1.009 GB, free: 122.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/0.8642, allocations: 1.779 MB / 1.01 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009345/0.8651, allocations: 355.5 kB / 1.011 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008757/0.866, allocations: 1.007 MB / 1.012 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/0.866, allocations: 4 kB / 1.012 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/0.9674, allocations: 55.91 MB / 1.066 GB, free: 66.55 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.07, allocations: 0 / 1.066 GB, free: 66.55 MB / 0.7169 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.484535799827427] Failed to read output from testmodel.py, exit status != 0: 14.207666249014437 14.218519905 13.961873492 Calling exit ...