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.001348/0.001348, 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.001474/0.001474, allocations: 215.3 kB / 22.25 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.781 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.003667/0.003667, allocations: 291.3 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.274/1.274, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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.002996/0.002996, allocations: 97.89 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1617, allocations: 95.39 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01328/0.175, allocations: 9.642 MB / 0.8421 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006235/0.1812, allocations: 3.151 MB / 0.8451 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.1818, allocations: 47.62 kB / 0.8452 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.1835, allocations: 0.6083 MB / 0.8458 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001626/0.1851, allocations: 0.7779 MB / 0.8465 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.1869, allocations: 0.7472 MB / 0.8473 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003544/0.1904, allocations: 2.985 MB / 0.8502 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.1926, allocations: 1.412 MB / 0.8516 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.1946, allocations: 1.289 MB / 0.8528 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.197, allocations: 1.636 MB / 0.8544 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003836/0.1973, allocations: 232 kB / 0.8546 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.1984, allocations: 487.4 kB / 0.8551 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.1996, allocations: 1.095 MB / 0.8562 GB, free: 108 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.2007, allocations: 0.9145 MB / 0.8571 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.2048, allocations: 3.718 MB / 0.8607 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2048, allocations: 0 / 0.8607 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2048, allocations: 0 / 0.8607 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.109e-05/0.2049, allocations: 0 / 0.8607 GB, free: 11.45 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.004939/0.2098, allocations: 2.115 MB / 0.8628 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2099, allocations: 12.75 kB / 0.8628 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004256/0.2103, allocations: 257.2 kB / 0.863 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.2205, allocations: 1.326 MB / 0.8643 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.224, allocations: 1.262 MB / 0.8656 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.2241, allocations: 115.3 kB / 0.8657 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.2245, allocations: 148.3 kB / 0.8658 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006118/0.2306, allocations: 3.52 MB / 0.8692 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/0.2306, allocations: 8 kB / 0.8693 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.2308, allocations: 59.97 kB / 0.8693 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002804/0.2311, allocations: 211.1 kB / 0.8695 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005328/0.2364, allocations: 3.12 MB / 0.8726 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.2539, allocations: 10.07 MB / 0.8824 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.2566, allocations: 1.619 MB / 0.884 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.2588, allocations: 1.335 MB / 0.8853 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.2588, allocations: 9 kB / 0.8853 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.2589, allocations: 47.56 kB / 0.8853 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 3.256e-06/0.2589, allocations: 0 / 0.8853 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183): time 0.1568/0.4157, allocations: 36.18 MB / 0.9207 GB, free: 13.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.4157, allocations: 73.41 kB / 0.9207 GB, free: 13.51 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.4174, allocations: 1.073 MB / 0.9218 GB, free: 12.41 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.4177, allocations: 57.7 kB / 0.9218 GB, free: 12.35 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/0.4184, allocations: 0.8132 MB / 0.9226 GB, free: 11.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007828/0.4192, allocations: 0.6546 MB / 0.9233 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008932/0.4201, allocations: 363.5 kB / 0.9236 GB, free: 10.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4202, allocations: 301.1 kB / 0.9239 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.4233, allocations: 1.932 MB / 0.9258 GB, free: 8.273 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/0.4266, allocations: 2.289 MB / 0.928 GB, free: 5.859 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006615/0.4333, allocations: 4.387 MB / 0.9323 GB, free: 1.352 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.4333, allocations: 4 kB / 0.9323 GB, free: 1.348 MB / 0.67 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02197/0.4552, allocations: 8.874 MB / 0.941 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.4553, allocations: 12.12 kB / 0.941 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.4553, allocations: 8 kB / 0.941 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01844/0.4737, allocations: 4.976 MB / 0.9459 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.4747, allocations: 191.6 kB / 0.946 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3878/0.8624, allocations: 37.99 MB / 0.9831 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.8645, allocations: 105.5 kB / 0.9832 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.8648, allocations: 66.28 kB / 0.9833 GB, free: 131.5 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.001269/0.866, allocations: 0.8099 MB / 0.9841 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.8663, allocations: 146.9 kB / 0.9842 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01931/0.8857, allocations: 8.737 MB / 0.9928 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/0.8857, allocations: 17.62 kB / 0.9928 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-05/0.8858, allocations: 29.41 kB / 0.9928 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.8858, allocations: 11.39 kB / 0.9928 GB, free: 129.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/0.9105, allocations: 12.65 MB / 1.005 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/0.9105, allocations: 6.906 kB / 1.005 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.911, allocations: 126.5 kB / 1.005 GB, free: 125.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01466/0.9256, allocations: 4.821 MB / 1.01 GB, free: 124.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/0.9259, allocations: 34.59 kB / 1.01 GB, free: 124.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04281/0.9687, allocations: 35.92 MB / 1.045 GB, free: 91.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9687, allocations: 8.562 kB / 1.045 GB, free: 91.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.9853, allocations: 8.448 MB / 1.053 GB, free: 83.06 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/0.987, allocations: 0.577 MB / 1.054 GB, free: 82.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/0.9873, allocations: 36 kB / 1.054 GB, free: 82.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.9886, allocations: 95.88 kB / 1.054 GB, free: 82.36 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006845/0.9893, allocations: 169.5 kB / 1.054 GB, free: 82.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.9894, allocations: 48.88 kB / 1.054 GB, free: 82.14 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007435/0.9902, allocations: 0.7382 MB / 1.055 GB, free: 81.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9902, allocations: 1.594 kB / 1.055 GB, free: 81.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002416/0.9926, allocations: 1.004 MB / 1.056 GB, free: 80.39 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.01671/1.009, allocations: 9.043 MB / 1.065 GB, free: 71.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00806/1.017, allocations: 5.741 MB / 1.07 GB, free: 65.46 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.017, allocations: 0 / 1.07 GB, free: 65.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006746/1.024, allocations: 3.779 MB / 1.074 GB, free: 61.65 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.025, allocations: 239.8 kB / 1.074 GB, free: 61.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04856/1.074, allocations: 30.84 MB / 1.104 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.075, allocations: 1.267 MB / 1.106 GB, free: 28.79 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007374/1.076, allocations: 355.4 kB / 1.106 GB, free: 28.44 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/1.077, allocations: 0.6086 MB / 1.107 GB, free: 27.83 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/1.077, allocations: 0 / 1.107 GB, free: 27.83 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1329/1.209, allocations: 80.68 MB / 1.185 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.72, allocations: 0 / 1.185 GB, free: 11.27 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.02570118010044] Failed to read output from testmodel.py, exit status != 0: 14.867893954738975 14.891848446 14.682740048 Calling exit ...