Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001479/0.001479, allocations: 114.3 kB / 18.94 MB, free: 2.781 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.001662/0.001662, allocations: 218.5 kB / 22.26 MB, free: 5.164 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 8.008 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.002483/0.002483, allocations: 282.1 kB / 312.7 MB, free: 2.832 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.144/1.144, allocations: 180.6 MB / 0.5369 GB, free: 12.97 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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.002793/0.002793, allocations: 100.8 kB / 0.7396 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1611, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01317/0.1743, allocations: 10.46 MB / 0.843 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.1795, allocations: 3.17 MB / 0.8461 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.1799, allocations: 51.62 kB / 0.8461 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.1817, allocations: 0.7137 MB / 0.8468 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.183, allocations: 0.7313 MB / 0.8475 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1843, allocations: 0.6471 MB / 0.8481 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002856/0.1871, allocations: 2.73 MB / 0.8508 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.1889, allocations: 1.383 MB / 0.8522 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.1904, allocations: 1.153 MB / 0.8533 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.1922, allocations: 1.492 MB / 0.8547 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.1925, allocations: 216 kB / 0.855 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.1934, allocations: 0.4915 MB / 0.8554 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009699/0.1944, allocations: 1.002 MB / 0.8564 GB, free: 308 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.1954, allocations: 1.015 MB / 0.8574 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003416/0.1988, allocations: 3.419 MB / 0.8607 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1988, allocations: 4 kB / 0.8607 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1988, allocations: 0 / 0.8607 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.787e-05/0.1989, allocations: 0 / 0.8607 GB, free: 11.85 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003436/0.2023, allocations: 1.913 MB / 0.8626 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2023, allocations: 9.938 kB / 0.8626 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003195/0.2027, allocations: 252.7 kB / 0.8629 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.2078, allocations: 0.8931 MB / 0.8637 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.2099, allocations: 1.124 MB / 0.8648 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.21, allocations: 107.3 kB / 0.8649 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/0.2103, allocations: 140.4 kB / 0.8651 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004456/0.2147, allocations: 3.025 MB / 0.868 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.2148, allocations: 7.938 kB / 0.868 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.215, allocations: 59.98 kB / 0.8681 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002234/0.2152, allocations: 183 kB / 0.8683 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003989/0.2192, allocations: 2.604 MB / 0.8708 GB, free: 1.359 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.2364, allocations: 13.4 MB / 0.8839 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.2383, allocations: 1.225 MB / 0.8851 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.2397, allocations: 0.9762 MB / 0.886 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.326e-05/0.2398, allocations: 8.656 kB / 0.886 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2398, allocations: 43.22 kB / 0.8861 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.374e-06/0.2398, allocations: 0 / 0.8861 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=139): time 0.06703/0.3069, allocations: 18.88 MB / 0.9045 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3069, allocations: 64.72 kB / 0.9046 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3082, allocations: 0.9223 MB / 0.9055 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.3083, allocations: 49.7 kB / 0.9055 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005762/0.3089, allocations: 0.7578 MB / 0.9063 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/0.3094, allocations: 0.4957 MB / 0.9068 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005817/0.3099, allocations: 295.5 kB / 0.907 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3101, allocations: 353.9 kB / 0.9074 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.3121, allocations: 1.335 MB / 0.9087 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.3143, allocations: 1.656 MB / 0.9103 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00427/0.3186, allocations: 3.088 MB / 0.9133 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.3186, allocations: 4 kB / 0.9133 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01155/0.3302, allocations: 5.561 MB / 0.9188 GB, free: 14.79 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.3302, allocations: 15.88 kB / 0.9188 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.3302, allocations: 8.656 kB / 0.9188 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008492/0.3387, allocations: 2.717 MB / 0.9214 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.3394, allocations: 191.6 kB / 0.9216 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03857/0.378, allocations: 25.34 MB / 0.9464 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.3795, allocations: 95.95 kB / 0.9465 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003199/0.3798, allocations: 55.98 kB / 0.9465 GB, free: 1.91 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001482/0.3813, allocations: 0.7354 MB / 0.9472 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.3816, allocations: 123.2 kB / 0.9473 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.3933, allocations: 5.307 MB / 0.9525 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.3934, allocations: 16 kB / 0.9525 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.954e-05/0.3934, allocations: 19.94 kB / 0.9526 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.3934, allocations: 11.97 kB / 0.9526 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.4102, allocations: 8.611 MB / 0.961 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.4103, allocations: 4 kB / 0.961 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.4107, allocations: 119.8 kB / 0.9611 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008322/0.419, allocations: 2.592 MB / 0.9636 GB, free: 200 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.4192, allocations: 24 kB / 0.9636 GB, free: 176 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3741/0.7933, allocations: 23.76 MB / 0.9869 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7933, allocations: 6.188 kB / 0.9869 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.804, allocations: 5.179 MB / 0.9919 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.8052, allocations: 426.3 kB / 0.9923 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.8054, allocations: 26.83 kB / 0.9923 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/0.8062, allocations: 82.55 kB / 0.9924 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/0.8068, allocations: 129.4 kB / 0.9926 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.8069, allocations: 35.81 kB / 0.9926 GB, free: 131.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001341/0.8083, allocations: 0.6455 MB / 0.9932 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8083, allocations: 0.7188 kB / 0.9932 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003005/0.8113, allocations: 0.7246 MB / 0.9939 GB, free: 131 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01011/0.8214, allocations: 5.748 MB / 0.9995 GB, free: 128.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006041/0.8274, allocations: 4.077 MB / 1.004 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8274, allocations: 3.312 kB / 1.004 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00419/0.8316, allocations: 2.623 MB / 1.006 GB, free: 126 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.8328, allocations: 229 kB / 1.006 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02872/0.8615, allocations: 21.34 MB / 1.027 GB, free: 109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.8627, allocations: 1.704 MB / 1.029 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006184/0.8633, allocations: 331.9 kB / 1.029 GB, free: 107 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.8638, allocations: 0.5305 MB / 1.03 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.8638, allocations: 0 / 1.03 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08324/0.947, allocations: 54.62 MB / 1.083 GB, free: 52.18 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.71, allocations: 7.859 kB / 1.083 GB, free: 52.17 MB / 0.7169 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.682878080988303] Failed to read output from testmodel.py, exit status != 0: 13.834691622992977 13.851761779 13.649615404 Calling exit ...