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.001815/0.001815, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002109/0.002109, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002547/0.002547, allocations: 289.1 kB / 313.5 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 12.91 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="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.004538/0.004538, allocations: 103.7 kB / 0.7404 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2037, allocations: 95.37 MB / 0.8335 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.02025/0.2239, allocations: 10.51 MB / 0.8438 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008591/0.2325, allocations: 3.303 MB / 0.847 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.2337, allocations: 51.62 kB / 0.847 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.2362, allocations: 0.6263 MB / 0.8477 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.2389, allocations: 0.7701 MB / 0.8484 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.2413, allocations: 0.7592 MB / 0.8492 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005262/0.2466, allocations: 2.992 MB / 0.8521 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003162/0.2497, allocations: 1.423 MB / 0.8535 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.2523, allocations: 1.281 MB / 0.8547 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/0.256, allocations: 1.71 MB / 0.8564 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007229/0.2568, allocations: 236 kB / 0.8566 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.2584, allocations: 0.5033 MB / 0.8571 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002061/0.2604, allocations: 1.103 MB / 0.8582 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.2627, allocations: 1.112 MB / 0.8593 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006166/0.2689, allocations: 3.691 MB / 0.8629 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2689, allocations: 4 kB / 0.8629 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2689, allocations: 0 / 0.8629 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001061/0.269, allocations: 0 / 0.8629 GB, free: 10.42 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.008492/0.2775, allocations: 2.116 MB / 0.8649 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.2776, allocations: 12.75 kB / 0.865 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.574e-05/0.2777, allocations: 47.2 kB / 0.865 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009357/0.2786, allocations: 257.2 kB / 0.8652 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.2951, allocations: 1.326 MB / 0.8665 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005762/0.3008, allocations: 1.262 MB / 0.8678 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.301, allocations: 115.3 kB / 0.8679 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.3022, allocations: 148.3 kB / 0.868 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/0.3139, allocations: 3.44 MB / 0.8714 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.556e-05/0.314, allocations: 0 / 0.8714 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005207/0.3145, allocations: 67.97 kB / 0.8714 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004993/0.315, allocations: 207.1 kB / 0.8716 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009994/0.325, allocations: 3.124 MB / 0.8747 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.3533, allocations: 13.47 MB / 0.8879 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.3561, allocations: 1.61 MB / 0.8894 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.3584, allocations: 1.335 MB / 0.8907 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.3585, allocations: 9 kB / 0.8907 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3585, allocations: 39.56 kB / 0.8908 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 3.026e-06/0.3585, allocations: 0 / 0.8908 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=183): time 0.1558/0.5143, allocations: 36.18 MB / 0.9261 GB, free: 8.531 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.5144, allocations: 69.41 kB / 0.9262 GB, free: 8.453 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.516, allocations: 1.058 MB / 0.9272 GB, free: 7.371 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.5163, allocations: 53.7 kB / 0.9273 GB, free: 7.312 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/0.5169, allocations: 0.8053 MB / 0.928 GB, free: 6.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007388/0.5177, allocations: 0.6662 MB / 0.9287 GB, free: 5.828 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008086/0.5185, allocations: 363.5 kB / 0.929 GB, free: 5.465 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5186, allocations: 301.1 kB / 0.9293 GB, free: 5.168 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/0.5217, allocations: 1.932 MB / 0.9312 GB, free: 3.234 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/0.5252, allocations: 2.289 MB / 0.9335 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006897/0.5321, allocations: 4.39 MB / 0.9377 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.5321, allocations: 3.938 kB / 0.9377 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02233/0.5544, allocations: 8.875 MB / 0.9464 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.5544, allocations: 8 kB / 0.9464 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.5545, allocations: 16.03 kB / 0.9464 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01805/0.5725, allocations: 4.975 MB / 0.9513 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009473/0.5735, allocations: 191.7 kB / 0.9515 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3783/0.9518, allocations: 38.54 MB / 0.9891 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.9538, allocations: 101.5 kB / 0.9892 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.954, allocations: 68.19 kB / 0.9893 GB, free: 131.3 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.0012/0.9552, allocations: 0.8116 MB / 0.9901 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.9555, allocations: 144.1 kB / 0.9902 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/0.9759, allocations: 8.734 MB / 0.9987 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.9759, allocations: 18.31 kB / 0.9987 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.548e-05/0.9759, allocations: 30.25 kB / 0.9988 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.976, allocations: 9.281 kB / 0.9988 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/0.9989, allocations: 13.24 MB / 1.012 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/0.9989, allocations: 7.125 kB / 1.012 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.9994, allocations: 117.2 kB / 1.012 GB, free: 124 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01536/1.015, allocations: 4.833 MB / 1.017 GB, free: 121.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/1.015, allocations: 39.31 kB / 1.017 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04356/1.059, allocations: 36.45 MB / 1.052 GB, free: 85.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.059, allocations: 4 kB / 1.052 GB, free: 85.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/1.076, allocations: 8.464 MB / 1.06 GB, free: 77.13 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.077, allocations: 0.5692 MB / 1.061 GB, free: 76.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/1.078, allocations: 35.94 kB / 1.061 GB, free: 76.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.079, allocations: 96.75 kB / 1.061 GB, free: 76.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007516/1.08, allocations: 174.1 kB / 1.061 GB, free: 76.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.08, allocations: 49.08 kB / 1.061 GB, free: 76.22 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007936/1.081, allocations: 0.7382 MB / 1.062 GB, free: 75.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.081, allocations: 0 / 1.062 GB, free: 75.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002774/1.083, allocations: 1 MB / 1.063 GB, free: 74.47 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.0166/1.1, allocations: 9.045 MB / 1.072 GB, free: 65.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008252/1.108, allocations: 5.736 MB / 1.077 GB, free: 59.55 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.108, allocations: 0 / 1.077 GB, free: 59.55 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007037/1.115, allocations: 3.782 MB / 1.081 GB, free: 55.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.117, allocations: 236.1 kB / 1.081 GB, free: 55.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05002/1.167, allocations: 30.84 MB / 1.112 GB, free: 24.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/1.168, allocations: 1.86 MB / 1.113 GB, free: 22.29 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007205/1.169, allocations: 354.5 kB / 1.114 GB, free: 21.94 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/1.169, allocations: 0.6086 MB / 1.114 GB, free: 21.33 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/1.169, allocations: 0 / 1.114 GB, free: 21.33 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1734/1.343, allocations: 78.8 MB / 1.191 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/16.06, allocations: 22.28 kB / 1.191 GB, free: 6.867 MB / 0.7794 GB " [Timeout remaining time 644] (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: 20.65549492795253] Failed to read output from testmodel.py, exit status != 0: 16.258238123031333 16.280932123 16.007600947 Calling exit ...