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.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.0013/0.0013, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00137/0.00137, allocations: 210.5 kB / 23.78 MB, free: 4.527 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.974/0.974, allocations: 150 MB / 463.9 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002085/0.002085, allocations: 66.83 kB / 0.642 GB, free: 9.949 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1978, allocations: 89.17 MB / 0.7291 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4047/0.6024, allocations: 39.04 MB / 0.7672 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02646/0.6289, allocations: 15.29 MB / 0.7821 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005182/0.6341, allocations: 250.9 kB / 0.7824 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01169/0.6458, allocations: 4.476 MB / 0.7867 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009475/0.6552, allocations: 2.931 MB / 0.7896 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.6658, allocations: 3.188 MB / 0.7927 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01962/0.6854, allocations: 11.42 MB / 0.8039 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0182/0.7036, allocations: 6.773 MB / 0.8105 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.7154, allocations: 4.994 MB / 0.8153 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.7271, allocations: 5.756 MB / 0.821 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004016/0.7312, allocations: 0.9492 MB / 0.8219 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007894/0.739, allocations: 1.918 MB / 0.8238 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.008964/0.748, allocations: 3.788 MB / 0.8275 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01321/0.7612, allocations: 3.509 MB / 0.8309 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02559/0.7868, allocations: 14.38 MB / 0.8449 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7868, allocations: 4 kB / 0.8449 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.768e-06/0.7868, allocations: 4 kB / 0.8449 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004861/0.7873, allocations: 0 / 0.8449 GB, free: 2.352 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.02731/0.8146, allocations: 7.722 MB / 0.8525 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 9.331e-05/0.8147, allocations: 8.031 kB / 0.8525 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004012/0.8151, allocations: 169 kB / 0.8527 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005638/0.8208, allocations: 0.8994 MB / 0.8535 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.8337, allocations: 1.55 MB / 0.855 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.8454, allocations: 4.386 MB / 0.8593 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.8459, allocations: 453 kB / 0.8598 GB, free: 3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003394/0.8493, allocations: 0.6029 MB / 0.8604 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.026/0.8753, allocations: 11.58 MB / 0.8717 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002113/0.8755, allocations: 27.83 kB / 0.8717 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.8766, allocations: 267.9 kB / 0.8719 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002861/0.8795, allocations: 0.7745 MB / 0.8727 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/0.8987, allocations: 8.564 MB / 0.8811 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06252/0.9612, allocations: 31.45 MB / 0.9118 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006527/0.9678, allocations: 3.969 MB / 0.9157 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005683/0.9734, allocations: 3.365 MB / 0.9189 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.9737, allocations: 42.77 kB / 0.919 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.992e-05/0.9738, allocations: 77.34 kB / 0.9191 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=353): time 6.231e-06/0.9738, allocations: 4 kB / 0.9191 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of matching and sorting (n=578): time 0.532/1.506, allocations: 121.1 MB / 1.037 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.506, allocations: 111.9 kB / 1.037 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004601/1.511, allocations: 2.681 MB / 1.04 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0009675/1.511, allocations: 121.7 kB / 1.04 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.514, allocations: 2.75 MB / 1.043 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.002994/1.517, allocations: 2.056 MB / 1.045 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00307/1.52, allocations: 0.9212 MB / 1.046 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.52, allocations: 305.1 kB / 1.046 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006951/1.527, allocations: 4.079 MB / 1.05 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008068/1.535, allocations: 5.015 MB / 1.055 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/1.551, allocations: 9.852 MB / 1.065 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-05/1.551, allocations: 8 kB / 1.065 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.3981/1.949, allocations: 16.73 MB / 1.081 GB, free: 269 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/1.949, allocations: 22.94 kB / 1.081 GB, free: 269 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/1.949, allocations: 21.5 kB / 1.081 GB, free: 269 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03321/1.983, allocations: 9.067 MB / 1.09 GB, free: 268.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/1.985, allocations: 0.5231 MB / 1.09 GB, free: 268.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0928/2.078, allocations: 74.67 MB / 1.163 GB, free: 228.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/2.083, allocations: 275.8 kB / 1.163 GB, free: 228.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008081/2.084, allocations: 188.9 kB / 1.164 GB, free: 228.3 MB / 0.8419 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.003503/2.087, allocations: 2.427 MB / 1.166 GB, free: 225.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/2.088, allocations: 0.4887 MB / 1.167 GB, free: 225.4 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03307/2.121, allocations: 16.54 MB / 1.183 GB, free: 208.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/2.121, allocations: 56 kB / 1.183 GB, free: 208.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001654/2.121, allocations: 72 kB / 1.183 GB, free: 208.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.231e-05/2.121, allocations: 28.55 kB / 1.183 GB, free: 208.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04648/2.168, allocations: 24.01 MB / 1.206 GB, free: 184.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/2.168, allocations: 8 kB / 1.206 GB, free: 184.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/2.17, allocations: 330.3 kB / 1.207 GB, free: 184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02616/2.196, allocations: 8.249 MB / 1.215 GB, free: 175.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009468/2.197, allocations: 108.5 kB / 1.215 GB, free: 175.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08114/2.278, allocations: 71.53 MB / 1.285 GB, free: 102.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/2.278, allocations: 11.94 kB / 1.285 GB, free: 102.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03858/2.317, allocations: 21.31 MB / 1.305 GB, free: 81.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004566/2.321, allocations: 1.311 MB / 1.307 GB, free: 79.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001696/2.323, allocations: 115.9 kB / 1.307 GB, free: 79.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/2.326, allocations: 287.6 kB / 1.307 GB, free: 79.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00173/2.328, allocations: 0.553 MB / 1.308 GB, free: 78.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003751/2.328, allocations: 140 kB / 1.308 GB, free: 78.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002067/2.33, allocations: 1.776 MB / 1.31 GB, free: 77.03 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/2.33, allocations: 0 / 1.31 GB, free: 77.03 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007262/2.338, allocations: 2.469 MB / 1.312 GB, free: 74.56 MB / 0.8419 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.03654/2.374, allocations: 22.02 MB / 1.333 GB, free: 52.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02286/2.397, allocations: 13.73 MB / 1.347 GB, free: 38.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/2.397, allocations: 2.812 kB / 1.347 GB, free: 38.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01684/2.414, allocations: 9.039 MB / 1.356 GB, free: 29.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007358/2.421, allocations: 1.382 MB / 1.357 GB, free: 27.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5315/2.953, allocations: 69.97 MB / 1.425 GB, free: 270.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/2.964, allocations: 4.394 MB / 1.43 GB, free: 270.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003958/2.968, allocations: 0.7428 MB / 1.43 GB, free: 270.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004594/2.973, allocations: 2.608 MB / 1.433 GB, free: 270.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.395e-06/2.973, allocations: 0 / 1.433 GB, free: 270.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2851/3.258, allocations: 210.5 MB / 1.638 GB, free: 102 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.99/28.25, allocations: 11.73 kB / 1.639 GB, free: 102 MB / 0.8731 GB " [Timeout remaining time 631] (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: 33.29814473702572] Failed to read output from testmodel.py, exit status != 0: 28.517292494070716 28.529148335 27.739365633 Calling exit ...