Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 119.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8716/0.8716, allocations: 129.2 MB / 432.5 MB, free: 13.05 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 75.88 kB / 0.5987 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4554, allocations: 83.43 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04831/0.5037, allocations: 41.81 MB / 0.721 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02854/0.5322, allocations: 15.29 MB / 0.736 GB, free: 4.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004984/0.5372, allocations: 187.1 kB / 0.7361 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.01217/0.5494, allocations: 4.538 MB / 0.7406 GB, free: 32 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008985/0.5584, allocations: 2.931 MB / 0.7434 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009257/0.5676, allocations: 3.157 MB / 0.7465 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01922/0.5868, allocations: 11.4 MB / 0.7576 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01628/0.6031, allocations: 9.223 MB / 0.7667 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01025/0.6134, allocations: 4.904 MB / 0.7714 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/0.625, allocations: 5.76 MB / 0.7771 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003674/0.6287, allocations: 0.9492 MB / 0.778 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006919/0.6356, allocations: 2.068 MB / 0.78 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.008108/0.6437, allocations: 3.788 MB / 0.7837 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01217/0.6559, allocations: 4.299 MB / 0.7879 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02417/0.68, allocations: 14.31 MB / 0.8019 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6801, allocations: 4 kB / 0.8019 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6801, allocations: 0 / 0.8019 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005013/0.6806, allocations: 3.938 kB / 0.8019 GB, free: 0.9414 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02786/0.7084, allocations: 7.794 MB / 0.8095 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.7085, allocations: 16.03 kB / 0.8095 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003093/0.7116, allocations: 0.8877 MB / 0.8104 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.7226, allocations: 1.557 MB / 0.8119 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01338/0.736, allocations: 4.462 MB / 0.8163 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006031/0.7366, allocations: 456.5 kB / 0.8167 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/0.7396, allocations: 0.5978 MB / 0.8173 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02885/0.7685, allocations: 10.68 MB / 0.8277 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003572/0.7688, allocations: 35.77 kB / 0.8278 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002748/0.7716, allocations: 263.9 kB / 0.828 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002901/0.7745, allocations: 0.7729 MB / 0.8288 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02272/0.7972, allocations: 8.565 MB / 0.8371 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4755/1.273, allocations: 46.6 MB / 0.8826 GB, free: 152.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007167/1.28, allocations: 3.992 MB / 0.8865 GB, free: 152.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00613/1.286, allocations: 3.367 MB / 0.8898 GB, free: 151.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/1.286, allocations: 43.28 kB / 0.8899 GB, free: 151.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/1.286, allocations: 77.66 kB / 0.8899 GB, free: 151.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=353): time 5.531e-06/1.286, allocations: 0 / 0.8899 GB, free: 151.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=578): time 0.4661/1.753, allocations: 122.6 MB / 1.01 GB, free: 50.64 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/1.753, allocations: 115.9 kB / 1.01 GB, free: 50.52 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/1.756, allocations: 2.684 MB / 1.012 GB, free: 47.85 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/1.757, allocations: 121.7 kB / 1.013 GB, free: 47.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001324/1.758, allocations: 2.749 MB / 1.015 GB, free: 45.33 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00193/1.76, allocations: 2.046 MB / 1.017 GB, free: 43.37 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/1.762, allocations: 0.929 MB / 1.018 GB, free: 42.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/1.762, allocations: 301.1 kB / 1.018 GB, free: 42.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00472/1.766, allocations: 4.087 MB / 1.022 GB, free: 38.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005316/1.772, allocations: 5.011 MB / 1.027 GB, free: 32.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.784, allocations: 9.851 MB / 1.037 GB, free: 22.47 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/1.784, allocations: 8 kB / 1.037 GB, free: 22.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03479/1.819, allocations: 16.74 MB / 1.053 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/1.819, allocations: 12 kB / 1.053 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/1.819, allocations: 24 kB / 1.053 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02995/1.849, allocations: 9.081 MB / 1.062 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/1.851, allocations: 0.5273 MB / 1.063 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.126/1.977, allocations: 77.04 MB / 1.138 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006194/1.984, allocations: 283.9 kB / 1.138 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.985, allocations: 188 kB / 1.138 GB, free: 12.88 MB / 0.7794 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.006597/1.992, allocations: 2.425 MB / 1.141 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/1.993, allocations: 496.9 kB / 1.141 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04401/2.037, allocations: 16.54 MB / 1.157 GB, free: 9.266 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.877e-05/2.037, allocations: 56 kB / 1.157 GB, free: 9.211 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00028/2.038, allocations: 72 kB / 1.157 GB, free: 9.141 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/2.038, allocations: 31.83 kB / 1.158 GB, free: 9.109 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4223/2.46, allocations: 25.37 MB / 1.182 GB, free: 263.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.94e-05/2.46, allocations: 13.66 kB / 1.182 GB, free: 263.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/2.462, allocations: 319.4 kB / 1.183 GB, free: 263.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02933/2.491, allocations: 8.271 MB / 1.191 GB, free: 263.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009662/2.492, allocations: 107.6 kB / 1.191 GB, free: 263.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08732/2.58, allocations: 73.91 MB / 1.263 GB, free: 226.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/2.58, allocations: 15.34 kB / 1.263 GB, free: 226.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03655/2.616, allocations: 21.31 MB / 1.284 GB, free: 208.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004189/2.621, allocations: 1.38 MB / 1.285 GB, free: 207.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.622, allocations: 113.5 kB / 1.285 GB, free: 207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003472/2.625, allocations: 283.6 kB / 1.286 GB, free: 206.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/2.627, allocations: 0.526 MB / 1.286 GB, free: 206.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004722/2.628, allocations: 144 kB / 1.286 GB, free: 206.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002374/2.63, allocations: 1.776 MB / 1.288 GB, free: 204.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/2.63, allocations: 0 / 1.288 GB, free: 204.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007658/2.638, allocations: 2.466 MB / 1.29 GB, free: 201.9 MB / 0.8106 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.03687/2.675, allocations: 22.01 MB / 1.312 GB, free: 179.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02271/2.697, allocations: 13.73 MB / 1.325 GB, free: 165.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/2.697, allocations: 0 / 1.325 GB, free: 165.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.018/2.715, allocations: 9.033 MB / 1.334 GB, free: 156.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005872/2.721, allocations: 1.376 MB / 1.335 GB, free: 155.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1191/2.84, allocations: 69.84 MB / 1.404 GB, free: 83.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00782/2.848, allocations: 4.893 MB / 1.408 GB, free: 78.65 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002852/2.851, allocations: 0.741 MB / 1.409 GB, free: 77.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003153/2.854, allocations: 2.608 MB / 1.412 GB, free: 75.3 MB / 0.8106 GB Notification: Performance of SimCode: time 1.573e-06/2.854, allocations: 4 kB / 1.412 GB, free: 75.29 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6394/3.494, allocations: 197.8 MB / 1.605 GB, free: 178 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.9/25.39, allocations: 7.297 kB / 1.605 GB, free: 178 MB / 0.8106 GB " [Timeout remaining time 634] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.60315079567954] Failed to read output from testmodel.py, exit status != 0: 25.57080767583102 25.586448042 24.90262548 Calling exit ...