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.00176/0.00176, allocations: 118.9 kB / 17.16 MB, free: 5.914 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.002275/0.002275, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.002402/0.002402, allocations: 289.7 kB / 309.8 MB, free: 3.496 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.07/1.07, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.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="cs",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="cs",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.00289/0.00289, allocations: 99.86 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5706, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01295/0.5836, allocations: 10.23 MB / 0.8378 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006882/0.5905, allocations: 3.24 MB / 0.841 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.5915, allocations: 44.44 kB / 0.841 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.5934, allocations: 0.6174 MB / 0.8416 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.5955, allocations: 0.7711 MB / 0.8423 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.5975, allocations: 0.7574 MB / 0.8431 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004518/0.602, allocations: 2.989 MB / 0.846 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003763/0.6058, allocations: 1.952 MB / 0.8479 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.6086, allocations: 1.277 MB / 0.8492 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.6118, allocations: 1.701 MB / 0.8508 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006181/0.6125, allocations: 236.3 kB / 0.851 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.6141, allocations: 0.5102 MB / 0.8515 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001661/0.6157, allocations: 1.097 MB / 0.8526 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001758/0.6175, allocations: 1.111 MB / 0.8537 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.6229, allocations: 3.7 MB / 0.8573 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.6229, allocations: 5.438 kB / 0.8573 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6229, allocations: 0 / 0.8573 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.564e-05/0.623, allocations: 0 / 0.8573 GB, free: 2.227 MB / 0.5919 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.005692/0.6287, allocations: 2.185 MB / 0.8595 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.6287, allocations: 11 kB / 0.8595 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.403e-05/0.6288, allocations: 45.17 kB / 0.8595 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005089/0.6293, allocations: 261.5 kB / 0.8598 GB, free: 472 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009907/0.6392, allocations: 1.319 MB / 0.861 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.6423, allocations: 1.313 MB / 0.8623 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.6424, allocations: 115.9 kB / 0.8624 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005296/0.6429, allocations: 145.2 kB / 0.8626 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/0.649, allocations: 3.443 MB / 0.8659 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.6491, allocations: 5.25 kB / 0.8659 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.6493, allocations: 71.98 kB / 0.866 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000279/0.6496, allocations: 203.8 kB / 0.8662 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005657/0.6553, allocations: 3.134 MB / 0.8693 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02121/0.6765, allocations: 13.56 MB / 0.8825 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.6796, allocations: 1.608 MB / 0.8841 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.6818, allocations: 1.339 MB / 0.8854 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.6819, allocations: 9 kB / 0.8854 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.6819, allocations: 43.56 kB / 0.8854 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=104): time 2.885e-06/0.6819, allocations: 0 / 0.8854 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183): time 0.2066/0.8885, allocations: 36.56 MB / 0.9211 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.8886, allocations: 73.41 kB / 0.9212 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.8903, allocations: 1.061 MB / 0.9223 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003411/0.8906, allocations: 53.7 kB / 0.9223 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006134/0.8912, allocations: 0.8015 MB / 0.9231 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007771/0.892, allocations: 0.6584 MB / 0.9237 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008679/0.8929, allocations: 363.5 kB / 0.9241 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.893, allocations: 313.1 kB / 0.9244 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/0.896, allocations: 1.928 MB / 0.9263 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003404/0.8994, allocations: 2.281 MB / 0.9285 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006822/0.9063, allocations: 4.388 MB / 0.9328 GB, free: 13.03 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.9063, allocations: 7.938 kB / 0.9328 GB, free: 13.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02254/0.9288, allocations: 8.869 MB / 0.9414 GB, free: 4.121 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.9289, allocations: 12 kB / 0.9415 GB, free: 4.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.9289, allocations: 8.656 kB / 0.9415 GB, free: 4.102 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01847/0.9473, allocations: 4.979 MB / 0.9463 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.9483, allocations: 199.6 kB / 0.9465 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06387/1.012, allocations: 38.93 MB / 0.9845 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.014, allocations: 107.9 kB / 0.9846 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.015, allocations: 60 kB / 0.9847 GB, free: 7.25 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.001552/1.016, allocations: 0.8062 MB / 0.9855 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000401/1.017, allocations: 147.1 kB / 0.9856 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02199/1.038, allocations: 8.737 MB / 0.9941 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/1.039, allocations: 20 kB / 0.9942 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-05/1.039, allocations: 28 kB / 0.9942 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/1.039, allocations: 15.95 kB / 0.9942 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02941/1.068, allocations: 13.25 MB / 1.007 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.65e-05/1.068, allocations: 4 kB / 1.007 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/1.069, allocations: 119.8 kB / 1.007 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01831/1.087, allocations: 4.846 MB / 1.012 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004394/1.087, allocations: 32 kB / 1.012 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06194/1.149, allocations: 36.86 MB / 1.048 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.149, allocations: 11.88 kB / 1.048 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/1.171, allocations: 8.452 MB / 1.056 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/1.173, allocations: 0.6405 MB / 1.057 GB, free: 12.37 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004889/1.173, allocations: 39.95 kB / 1.057 GB, free: 12.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/1.175, allocations: 91.81 kB / 1.057 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000904/1.176, allocations: 161.7 kB / 1.057 GB, free: 12.08 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/1.176, allocations: 52 kB / 1.057 GB, free: 12.03 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001185/1.177, allocations: 0.7382 MB / 1.058 GB, free: 11.28 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/1.177, allocations: 0 / 1.058 GB, free: 11.28 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003928/1.181, allocations: 1 MB / 1.059 GB, free: 10.28 MB / 0.795 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.02161/1.203, allocations: 9.055 MB / 1.068 GB, free: 1.129 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.214, allocations: 5.736 MB / 1.073 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.214, allocations: 0 / 1.073 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.009493/1.224, allocations: 3.768 MB / 1.077 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.225, allocations: 242 kB / 1.077 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06828/1.294, allocations: 30.79 MB / 1.107 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/1.296, allocations: 1.855 MB / 1.109 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001006/1.297, allocations: 359.4 kB / 1.11 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008305/1.297, allocations: 0.6086 MB / 1.11 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of SimCode: time 1.102e-06/1.297, allocations: 0 / 1.11 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4777/1.775, allocations: 76.77 MB / 1.185 GB, free: 276 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/15.15, allocations: 9.703 kB / 1.185 GB, free: 276 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.4934463549871] Failed to read output from testmodel.py, exit status != 0: 15.318225532013457 15.333891888 14.70783046 Calling exit ...