Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001734/0.001734, allocations: 114.5 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.002117/0.002117, allocations: 217 kB / 22.25 MB, free: 5.082 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.415/1.415, 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.002612/0.002612, allocations: 271.8 kB / 312.7 MB, free: 2.91 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.204/1.204, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.004215/0.004215, allocations: 108.2 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1921, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01326/0.2053, allocations: 10.52 MB / 0.843 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006084/0.2114, allocations: 3.299 MB / 0.8462 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008208/0.2122, allocations: 43.69 kB / 0.8463 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.214, allocations: 0.6219 MB / 0.8469 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.2158, allocations: 0.774 MB / 0.8476 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.2175, allocations: 0.7503 MB / 0.8484 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.221, allocations: 2.996 MB / 0.8513 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.2232, allocations: 1.435 MB / 0.8527 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.2257, allocations: 1.274 MB / 0.8539 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003022/0.2288, allocations: 1.702 MB / 0.8556 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003701/0.2291, allocations: 236 kB / 0.8558 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.2302, allocations: 0.511 MB / 0.8563 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.2315, allocations: 1.095 MB / 0.8574 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.2329, allocations: 1.116 MB / 0.8585 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.2369, allocations: 3.687 MB / 0.8621 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2369, allocations: 0 / 0.8621 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2369, allocations: 4 kB / 0.8621 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.237, allocations: 0 / 0.8621 GB, free: 10.46 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003858/0.2408, allocations: 2.123 MB / 0.8642 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2409, allocations: 12.75 kB / 0.8642 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003557/0.2412, allocations: 261.2 kB / 0.8644 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008397/0.2496, allocations: 1.322 MB / 0.8657 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.2527, allocations: 1.265 MB / 0.867 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.2528, allocations: 111.4 kB / 0.8671 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.2533, allocations: 148.3 kB / 0.8672 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.2592, allocations: 3.44 MB / 0.8706 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.2593, allocations: 3.938 kB / 0.8706 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.2595, allocations: 71.91 kB / 0.8706 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/0.2598, allocations: 199.1 kB / 0.8708 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005266/0.265, allocations: 3.127 MB / 0.8739 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01902/0.284, allocations: 13.47 MB / 0.887 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.2867, allocations: 1.618 MB / 0.8886 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.2887, allocations: 1.327 MB / 0.8899 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/0.2888, allocations: 12.98 kB / 0.8899 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2889, allocations: 43.56 kB / 0.89 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.2889, allocations: 4 kB / 0.89 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=183): time 0.1445/0.4334, allocations: 36.17 MB / 0.9253 GB, free: 8.609 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.4335, allocations: 77.41 kB / 0.9254 GB, free: 8.523 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.435, allocations: 1.054 MB / 0.9264 GB, free: 7.445 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003348/0.4354, allocations: 53.7 kB / 0.9265 GB, free: 7.387 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/0.436, allocations: 0.8092 MB / 0.9272 GB, free: 6.57 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006625/0.4366, allocations: 0.6584 MB / 0.9279 GB, free: 5.906 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007232/0.4374, allocations: 359.5 kB / 0.9282 GB, free: 5.547 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4375, allocations: 301.1 kB / 0.9285 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/0.4404, allocations: 1.932 MB / 0.9304 GB, free: 3.316 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.4435, allocations: 2.285 MB / 0.9326 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00617/0.4497, allocations: 4.395 MB / 0.9369 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4497, allocations: 7.938 kB / 0.9369 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02046/0.4702, allocations: 8.874 MB / 0.9456 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4702, allocations: 8 kB / 0.9456 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.4702, allocations: 12 kB / 0.9456 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/0.4872, allocations: 4.973 MB / 0.9505 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/0.488, allocations: 195.6 kB / 0.9507 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3926/0.8807, allocations: 38.53 MB / 0.9883 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.8825, allocations: 106.7 kB / 0.9884 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.8827, allocations: 65.78 kB / 0.9885 GB, free: 130.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.8839, allocations: 0.811 MB / 0.9892 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.8842, allocations: 144.8 kB / 0.9894 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02056/0.9047, allocations: 8.74 MB / 0.9979 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.9048, allocations: 17.69 kB / 0.9979 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001141/0.9049, allocations: 28.88 kB / 0.998 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/0.9049, allocations: 13 kB / 0.998 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/0.9288, allocations: 13.24 MB / 1.011 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.9288, allocations: 3.812 kB / 1.011 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.9293, allocations: 123 kB / 1.011 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01438/0.9437, allocations: 4.846 MB / 1.016 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/0.9439, allocations: 35.2 kB / 1.016 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04484/0.9887, allocations: 36.45 MB / 1.051 GB, free: 85.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.9887, allocations: 7.938 kB / 1.051 GB, free: 85.64 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01718/1.006, allocations: 8.448 MB / 1.06 GB, free: 77.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.008, allocations: 0.5809 MB / 1.06 GB, free: 76.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/1.008, allocations: 35.94 kB / 1.06 GB, free: 76.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.009, allocations: 92.97 kB / 1.06 GB, free: 76.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007771/1.01, allocations: 174.1 kB / 1.06 GB, free: 76.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.01, allocations: 48.88 kB / 1.061 GB, free: 76.19 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007702/1.011, allocations: 0.746 MB / 1.061 GB, free: 75.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/1.011, allocations: 0 / 1.061 GB, free: 75.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003137/1.014, allocations: 1 MB / 1.062 GB, free: 74.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01581/1.03, allocations: 9.042 MB / 1.071 GB, free: 65.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007897/1.038, allocations: 5.727 MB / 1.077 GB, free: 59.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.038, allocations: 0 / 1.077 GB, free: 59.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00659/1.044, allocations: 3.788 MB / 1.08 GB, free: 55.69 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.046, allocations: 249.2 kB / 1.081 GB, free: 55.47 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04806/1.094, allocations: 30.83 MB / 1.111 GB, free: 24.14 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.095, allocations: 1.855 MB / 1.113 GB, free: 22.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007513/1.096, allocations: 361 kB / 1.113 GB, free: 21.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005664/1.096, allocations: 0.6125 MB / 1.113 GB, free: 21.29 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.096, allocations: 0 / 1.113 GB, free: 21.29 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/1.232, allocations: 78.76 MB / 1.19 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.14, allocations: 11.98 kB / 1.19 GB, free: 6.832 MB / 0.7794 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.327590279001015] Failed to read output from testmodel.py, exit status != 0: 15.274527530000341 15.289558438 15.049351953 Calling exit ...