Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0009199/0.0009199, allocations: 80.45 kB / 19.96 MB, free: 4.605 MB / 18.57 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.0007398/0.0007398, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9194/0.9194, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.873/1.873, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.411e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01042/0.01043, allocations: 13.72 MB / 1.014 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.009505/0.01994, allocations: 9.83 MB / 1.024 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000802/0.02074, allocations: 87.25 kB / 1.024 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.02273, allocations: 1.691 MB / 1.025 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.02574, allocations: 1.897 MB / 1.027 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.02691, allocations: 0.7704 MB / 1.028 GB, free: 1.441 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.02956, allocations: 2.831 MB / 1.031 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.03085, allocations: 1.192 MB / 1.032 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.03274, allocations: 2.105 MB / 1.034 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009997/0.03374, allocations: 0.9425 MB / 1.035 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/0.03393, allocations: 156 kB / 1.035 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009005/0.03483, allocations: 0.7249 MB / 1.036 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.03521, allocations: 0.6386 MB / 1.036 GB, free: 8.793 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005156/0.03572, allocations: 0.6468 MB / 1.037 GB, free: 8.145 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.03763, allocations: 2.765 MB / 1.04 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.03763, allocations: 0 / 1.04 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.03763, allocations: 4 kB / 1.04 GB, free: 5.367 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.186e-05/0.03767, allocations: 0 / 1.04 GB, free: 5.367 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002698/0.04037, allocations: 2.124 MB / 1.042 GB, free: 3.203 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.04041, allocations: 9.344 kB / 1.042 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.04058, allocations: 194.4 kB / 1.042 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006162/0.04675, allocations: 2.117 MB / 1.044 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4057/0.4524, allocations: 1.196 MB / 1.045 GB, free: 82.19 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.4525, allocations: 86.19 kB / 1.045 GB, free: 82.18 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.4526, allocations: 115.5 kB / 1.045 GB, free: 82.17 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.4557, allocations: 2.884 MB / 1.048 GB, free: 80.87 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.4557, allocations: 6.062 kB / 1.048 GB, free: 80.87 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.4558, allocations: 51.94 kB / 1.048 GB, free: 80.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/0.4561, allocations: 195 kB / 1.048 GB, free: 80.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.4597, allocations: 2.788 MB / 1.051 GB, free: 80.11 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006815/0.4665, allocations: 8.325 MB / 1.059 GB, free: 75.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.4698, allocations: 2.182 MB / 1.061 GB, free: 74.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.4714, allocations: 1.199 MB / 1.063 GB, free: 74.62 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.4715, allocations: 13.44 kB / 1.063 GB, free: 74.62 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.4715, allocations: 38.38 kB / 1.063 GB, free: 74.57 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.4715, allocations: 2.875 kB / 1.063 GB, free: 74.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=153): time 0.02974/0.5012, allocations: 15.99 MB / 1.078 GB, free: 71.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.5013, allocations: 68.25 kB / 1.078 GB, free: 71.26 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.5024, allocations: 1.189 MB / 1.08 GB, free: 70.79 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.5025, allocations: 51.7 kB / 1.08 GB, free: 70.74 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.5028, allocations: 0.7596 MB / 1.08 GB, free: 70.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.5031, allocations: 0.5323 MB / 1.081 GB, free: 69.85 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003686/0.5035, allocations: 287.7 kB / 1.081 GB, free: 69.72 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.991e-05/0.5035, allocations: 301.8 kB / 1.081 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.5057, allocations: 1.505 MB / 1.083 GB, free: 68.98 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.5079, allocations: 1.784 MB / 1.085 GB, free: 68.23 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004302/0.5122, allocations: 3.368 MB / 1.088 GB, free: 66.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5122, allocations: 1.844 kB / 1.088 GB, free: 66.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007833/0.5201, allocations: 5.214 MB / 1.093 GB, free: 65.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5201, allocations: 9.484 kB / 1.093 GB, free: 65.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5201, allocations: 7.156 kB / 1.093 GB, free: 65.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003825/0.5239, allocations: 1.885 MB / 1.095 GB, free: 64.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.525, allocations: 411.6 kB / 1.095 GB, free: 64.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/0.5426, allocations: 23.06 MB / 1.118 GB, free: 48.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.5444, allocations: 311 kB / 1.118 GB, free: 48.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5445, allocations: 68.2 kB / 1.118 GB, free: 48.8 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008997/0.5454, allocations: 458.1 kB / 1.119 GB, free: 48.52 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.5456, allocations: 190.6 kB / 1.119 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007792/0.5534, allocations: 5.245 MB / 1.124 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.5534, allocations: 14.56 kB / 1.124 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-05/0.5534, allocations: 18.5 kB / 1.124 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.5534, allocations: 11.86 kB / 1.124 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009403/0.5628, allocations: 6.965 MB / 1.131 GB, free: 44.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5629, allocations: 2.625 kB / 1.131 GB, free: 44.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009029/0.5638, allocations: 357.8 kB / 1.131 GB, free: 44.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/0.5667, allocations: 1.706 MB / 1.133 GB, free: 43.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/0.5668, allocations: 42.88 kB / 1.133 GB, free: 43.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/0.582, allocations: 22.21 MB / 1.154 GB, free: 25.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.582, allocations: 11.06 kB / 1.154 GB, free: 25.78 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006394/0.5884, allocations: 4.817 MB / 1.159 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/0.589, allocations: 431.2 kB / 1.16 GB, free: 22.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.5891, allocations: 28 kB / 1.16 GB, free: 22.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.5902, allocations: 319.5 kB / 1.16 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.5905, allocations: 156.9 kB / 1.16 GB, free: 21.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.5906, allocations: 55.97 kB / 1.16 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006365/0.5912, allocations: 0.7899 MB / 1.161 GB, free: 20.99 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5912, allocations: 0 / 1.161 GB, free: 20.99 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001469/0.5927, allocations: 0.6562 MB / 1.162 GB, free: 20.34 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006043/0.5988, allocations: 5.411 MB / 1.167 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005328/0.6041, allocations: 4.936 MB / 1.172 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.6041, allocations: 0 / 1.172 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003101/0.6072, allocations: 3.258 MB / 1.175 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.6084, allocations: 0.561 MB / 1.175 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/0.6347, allocations: 21.82 MB / 1.197 GB, free: 15.59 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.6354, allocations: 0.9804 MB / 1.198 GB, free: 14.58 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0008496/0.6363, allocations: 382.4 kB / 1.198 GB, free: 14.2 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006058/0.6369, allocations: 0.6604 MB / 1.199 GB, free: 13.54 MB / 1.026 GB Notification: Performance of SimCode: time 1.052e-06/0.6369, allocations: 0 / 1.199 GB, free: 13.54 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1433/0.7802, allocations: 63.85 MB / 1.261 GB, free: 14.66 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/9.202, allocations: 2.656 kB / 1.261 GB, free: 14.66 MB / 1.089 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.806024099700153]