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.001246/0.001246, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001452/0.001452, allocations: 220.5 kB / 22.26 MB, free: 5.125 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.977 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.002409/0.002409, allocations: 284 kB / 312.7 MB, free: 2.801 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.172/1.172, allocations: 180.6 MB / 0.537 GB, free: 13 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.002769/0.002769, allocations: 108.8 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1608, allocations: 95.38 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01312/0.1739, allocations: 10.5 MB / 0.843 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005525/0.1794, allocations: 3.306 MB / 0.8462 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005117/0.1799, allocations: 51.62 kB / 0.8463 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.1815, allocations: 0.618 MB / 0.8469 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.1829, allocations: 0.7778 MB / 0.8476 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1844, allocations: 0.7499 MB / 0.8484 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003049/0.1874, allocations: 3 MB / 0.8513 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.1892, allocations: 1.423 MB / 0.8527 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.1908, allocations: 1.282 MB / 0.8539 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.1931, allocations: 1.702 MB / 0.8556 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000321/0.1934, allocations: 236 kB / 0.8558 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.1943, allocations: 0.5111 MB / 0.8563 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.1954, allocations: 1.095 MB / 0.8574 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.1965, allocations: 1.116 MB / 0.8585 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.2004, allocations: 3.687 MB / 0.8621 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2004, allocations: 0 / 0.8621 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2004, allocations: 0 / 0.8621 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.516e-05/0.2004, allocations: 3.938 kB / 0.8621 GB, free: 10.44 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.003989/0.2044, allocations: 2.12 MB / 0.8642 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.2045, allocations: 12.75 kB / 0.8642 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003345/0.2048, allocations: 261.2 kB / 0.8644 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008041/0.2129, allocations: 1.318 MB / 0.8657 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.2156, allocations: 1.265 MB / 0.867 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-05/0.2157, allocations: 119.3 kB / 0.8671 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.216, allocations: 148.3 kB / 0.8672 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004988/0.221, allocations: 3.433 MB / 0.8706 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.221, allocations: 7.938 kB / 0.8706 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.2212, allocations: 67.97 kB / 0.8706 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002541/0.2215, allocations: 211.1 kB / 0.8708 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004696/0.2262, allocations: 3.124 MB / 0.8739 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.2432, allocations: 13.47 MB / 0.887 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.2456, allocations: 1.614 MB / 0.8886 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.2475, allocations: 1.331 MB / 0.8899 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.262e-05/0.2476, allocations: 9 kB / 0.8899 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.2476, allocations: 43.56 kB / 0.89 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=104): time 2.345e-06/0.2476, allocations: 4 kB / 0.89 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of matching and sorting (n=183): time 0.1349/0.3825, allocations: 36.17 MB / 0.9253 GB, free: 8.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.3826, allocations: 77.34 kB / 0.9254 GB, free: 8.508 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.3843, allocations: 1.054 MB / 0.9264 GB, free: 7.43 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.3846, allocations: 57.7 kB / 0.9265 GB, free: 7.367 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006469/0.3852, allocations: 0.8093 MB / 0.9272 GB, free: 6.547 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000717/0.3859, allocations: 0.6584 MB / 0.9279 GB, free: 5.883 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009519/0.3869, allocations: 363.5 kB / 0.9282 GB, free: 5.52 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.387, allocations: 301.1 kB / 0.9285 GB, free: 5.223 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/0.3901, allocations: 1.932 MB / 0.9304 GB, free: 3.289 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00321/0.3933, allocations: 2.285 MB / 0.9326 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00621/0.3995, allocations: 4.391 MB / 0.9369 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3995, allocations: 0 / 0.9369 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02032/0.4198, allocations: 8.881 MB / 0.9456 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.4199, allocations: 12 kB / 0.9456 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4199, allocations: 8 kB / 0.9456 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01656/0.4364, allocations: 4.97 MB / 0.9505 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.4374, allocations: 191.7 kB / 0.9507 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3952/0.8325, allocations: 38.54 MB / 0.9883 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.8344, allocations: 103.6 kB / 0.9884 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.8345, allocations: 66.36 kB / 0.9885 GB, free: 130.6 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.001303/0.8358, allocations: 0.808 MB / 0.9892 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/0.8361, allocations: 150.2 kB / 0.9894 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/0.8558, allocations: 8.736 MB / 0.9979 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/0.8558, allocations: 18.44 kB / 0.9979 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001038/0.8559, allocations: 29.03 kB / 0.998 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.856, allocations: 7.312 kB / 0.998 GB, free: 127.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/0.8795, allocations: 13.24 MB / 1.011 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/0.8796, allocations: 7.812 kB / 1.011 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.88, allocations: 121.1 kB / 1.011 GB, free: 123.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01388/0.8939, allocations: 4.845 MB / 1.016 GB, free: 121.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003389/0.8943, allocations: 35.72 kB / 1.016 GB, free: 121.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04163/0.9359, allocations: 36.44 MB / 1.051 GB, free: 85.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9359, allocations: 8.5 kB / 1.051 GB, free: 85.71 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/0.9516, allocations: 8.452 MB / 1.06 GB, free: 77.17 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.9528, allocations: 0.5731 MB / 1.06 GB, free: 76.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.953, allocations: 39.94 kB / 1.06 GB, free: 76.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.9541, allocations: 91.88 kB / 1.06 GB, free: 76.47 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006917/0.9548, allocations: 179.5 kB / 1.06 GB, free: 76.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.9549, allocations: 45.91 kB / 1.061 GB, free: 76.26 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007065/0.9556, allocations: 0.7382 MB / 1.061 GB, free: 75.51 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9556, allocations: 0 / 1.061 GB, free: 75.51 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002354/0.958, allocations: 1.004 MB / 1.062 GB, free: 74.5 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.01525/0.9732, allocations: 9.048 MB / 1.071 GB, free: 65.36 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007602/0.9808, allocations: 5.734 MB / 1.077 GB, free: 59.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.9808, allocations: 0 / 1.077 GB, free: 59.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006084/0.9869, allocations: 3.786 MB / 1.08 GB, free: 55.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.9882, allocations: 247.5 kB / 1.081 GB, free: 55.53 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/1.033, allocations: 30.84 MB / 1.111 GB, free: 24.21 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.035, allocations: 1.855 MB / 1.113 GB, free: 22.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006327/1.035, allocations: 359.7 kB / 1.113 GB, free: 21.96 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/1.036, allocations: 0.6047 MB / 1.113 GB, free: 21.36 MB / 0.7169 GB Notification: Performance of SimCode: time 9.21e-07/1.036, allocations: 0 / 1.113 GB, free: 21.36 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1336/1.169, allocations: 78.77 MB / 1.19 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.7, allocations: 4 kB / 1.19 GB, free: 6.898 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 & /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: 18.760772672016174] Failed to read output from testmodel.py, exit status != 0: 14.830348146846518 14.852179585 14.647740641 Calling exit ...