Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001783/0.001783, 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.001468/0.001468, allocations: 211.9 kB / 22.24 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.77 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.002645/0.002645, allocations: 293.9 kB / 312.7 MB, free: 2.68 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.229/1.229, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.003058/0.003058, allocations: 112 kB / 0.7395 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1759, allocations: 95.38 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04973/0.2257, allocations: 39.12 MB / 0.8709 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02656/0.2522, allocations: 15.32 MB / 0.8858 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004416/0.2566, allocations: 246.1 kB / 0.8861 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01224/0.2689, allocations: 4.482 MB / 0.8904 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008147/0.277, allocations: 2.919 MB / 0.8933 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008409/0.2854, allocations: 3.209 MB / 0.8964 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01584/0.3013, allocations: 11.42 MB / 0.9076 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01342/0.3147, allocations: 6.697 MB / 0.9141 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008871/0.3236, allocations: 5.001 MB / 0.919 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009969/0.3335, allocations: 5.416 MB / 0.9243 GB, free: 10.1 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002988/0.3365, allocations: 0.9492 MB / 0.9252 GB, free: 9.152 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006462/0.343, allocations: 1.904 MB / 0.9271 GB, free: 7.246 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007486/0.3505, allocations: 3.784 MB / 0.9308 GB, free: 3.453 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009081/0.3595, allocations: 3.506 MB / 0.9342 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.02111/0.3807, allocations: 14.39 MB / 0.9483 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3807, allocations: 0 / 0.9483 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3807, allocations: 0 / 0.9483 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004231/0.3811, allocations: 0 / 0.9483 GB, free: 1.496 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02288/0.404, allocations: 7.715 MB / 0.9558 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.404, allocations: 13.33 kB / 0.9558 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00336/0.4074, allocations: 0.8916 MB / 0.9567 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.4188, allocations: 1.554 MB / 0.9582 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/0.4324, allocations: 4.386 MB / 0.9625 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006176/0.433, allocations: 456.5 kB / 0.9629 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002875/0.4359, allocations: 0.5978 MB / 0.9635 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02814/0.464, allocations: 11.59 MB / 0.9748 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003219/0.4643, allocations: 31.81 kB / 0.9748 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002041/0.4664, allocations: 263.9 kB / 0.9751 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003419/0.4698, allocations: 0.769 MB / 0.9758 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.393/0.8628, allocations: 8.543 MB / 0.9842 GB, free: 128.1 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05258/0.9154, allocations: 31.46 MB / 1.015 GB, free: 109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00522/0.9206, allocations: 3.97 MB / 1.019 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004349/0.9249, allocations: 3.362 MB / 1.022 GB, free: 105.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.9252, allocations: 40.66 kB / 1.022 GB, free: 105.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.9253, allocations: 80.12 kB / 1.022 GB, free: 105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=353): time 6.862e-06/0.9253, allocations: 4 kB / 1.022 GB, free: 105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=578): time 0.4969/1.422, allocations: 121.1 MB / 1.14 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.422, allocations: 111.9 kB / 1.141 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/1.427, allocations: 2.723 MB / 1.143 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001402/1.429, allocations: 121.7 kB / 1.143 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002501/1.431, allocations: 2.758 MB / 1.146 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.003352/1.435, allocations: 2.048 MB / 1.148 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004136/1.439, allocations: 0.925 MB / 1.149 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.439, allocations: 305.1 kB / 1.149 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007813/1.447, allocations: 4.083 MB / 1.153 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008699/1.456, allocations: 5.011 MB / 1.158 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/1.473, allocations: 9.851 MB / 1.168 GB, free: 4.781 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.051e-05/1.473, allocations: 4 kB / 1.168 GB, free: 4.777 MB / 0.7637 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04562/1.518, allocations: 16.74 MB / 1.184 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/1.518, allocations: 14.34 kB / 1.184 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-05/1.518, allocations: 24 kB / 1.184 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03462/1.553, allocations: 9.073 MB / 1.193 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/1.556, allocations: 0.5265 MB / 1.193 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1253/1.681, allocations: 74.64 MB / 1.266 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005693/1.687, allocations: 275.8 kB / 1.267 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/1.688, allocations: 188 kB / 1.267 GB, free: 13.88 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005781/1.694, allocations: 2.429 MB / 1.269 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/1.695, allocations: 0.493 MB / 1.27 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04524/1.741, allocations: 16.54 MB / 1.286 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.066e-05/1.741, allocations: 56 kB / 1.286 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002458/1.741, allocations: 75.94 kB / 1.286 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001263/1.741, allocations: 31.89 kB / 1.286 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06547/1.806, allocations: 24.01 MB / 1.309 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.436e-05/1.806, allocations: 4 kB / 1.309 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/1.808, allocations: 319.5 kB / 1.31 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03213/1.841, allocations: 8.254 MB / 1.318 GB, free: 9.258 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001402/1.842, allocations: 108 kB / 1.318 GB, free: 9.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4936/2.336, allocations: 71.51 MB / 1.388 GB, free: 283.3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/2.336, allocations: 12.66 kB / 1.388 GB, free: 283.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03932/2.375, allocations: 21.31 MB / 1.409 GB, free: 264.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004201/2.379, allocations: 1.305 MB / 1.41 GB, free: 263.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.381, allocations: 115.2 kB / 1.41 GB, free: 263.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003987/2.384, allocations: 288.3 kB / 1.41 GB, free: 263.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002209/2.387, allocations: 0.5602 MB / 1.411 GB, free: 262.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005632/2.387, allocations: 140 kB / 1.411 GB, free: 262.4 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002347/2.39, allocations: 1.772 MB / 1.413 GB, free: 260.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/2.39, allocations: 0 / 1.413 GB, free: 260.6 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.009237/2.399, allocations: 2.465 MB / 1.415 GB, free: 258.2 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04028/2.439, allocations: 22 MB / 1.437 GB, free: 235.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02245/2.462, allocations: 13.74 MB / 1.45 GB, free: 222 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.462, allocations: 8.062 kB / 1.45 GB, free: 222 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01583/2.477, allocations: 9.025 MB / 1.459 GB, free: 212.8 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006647/2.484, allocations: 1.391 MB / 1.46 GB, free: 211.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1236/2.608, allocations: 69.9 MB / 1.528 GB, free: 139.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006009/2.614, allocations: 4.388 MB / 1.533 GB, free: 135.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002548/2.616, allocations: 0.7449 MB / 1.533 GB, free: 134.8 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00293/2.619, allocations: 2.612 MB / 1.536 GB, free: 132.1 MB / 0.92 GB Notification: Performance of SimCode: time 1.643e-06/2.619, allocations: 4 kB / 1.536 GB, free: 132.1 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6665/3.286, allocations: 209 MB / 1.74 GB, free: 283.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.7/22.99, allocations: 6 kB / 1.74 GB, free: 283.7 MB / 0.9356 GB " [Timeout remaining time 637] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 27.923102002125233] Failed to read output from testmodel.py, exit status != 0: 23.209673943929374 23.230556338 22.845678289 Calling exit ...