Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.0008988/0.0008988, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001261/0.001261, 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.8678/0.8678, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.839/1.839, allocations: 389.5 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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.628e-06/1.076e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.007674/0.007685, allocations: 10.5 MB / 1.011 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005834/0.01352, allocations: 5.574 MB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005198/0.01404, allocations: 71.31 kB / 1.016 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.01587, allocations: 1.726 MB / 1.018 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.01739, allocations: 1.22 MB / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.01851, allocations: 0.8188 MB / 1.02 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.01984, allocations: 2.189 MB / 1.022 GB, free: 7.344 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.02066, allocations: 1.014 MB / 1.023 GB, free: 6.305 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.02177, allocations: 1.212 MB / 1.024 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.02242, allocations: 0.8218 MB / 1.025 GB, free: 4.266 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.02254, allocations: 112 kB / 1.025 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009683/0.0235, allocations: 1.079 MB / 1.026 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.02382, allocations: 0.5686 MB / 1.027 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.02416, allocations: 0.5377 MB / 1.027 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.02573, allocations: 2.484 MB / 1.03 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.02574, allocations: 3.938 kB / 1.03 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.02574, allocations: 0 / 1.03 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.02576, allocations: 4 kB / 1.03 GB, free: 15.46 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001891/0.02765, allocations: 1.821 MB / 1.032 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.02768, allocations: 17.28 kB / 1.032 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.02784, allocations: 211.4 kB / 1.032 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.03029, allocations: 0.6864 MB / 1.033 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.03145, allocations: 0.9245 MB / 1.033 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.0315, allocations: 90.91 kB / 1.034 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.03162, allocations: 132.3 kB / 1.034 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.03351, allocations: 2.404 MB / 1.036 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.03354, allocations: 12.06 kB / 1.036 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-05/0.03363, allocations: 72.11 kB / 1.036 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.03375, allocations: 162.3 kB / 1.036 GB, free: 8.582 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.03578, allocations: 1.855 MB / 1.038 GB, free: 6.719 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/0.04191, allocations: 9.382 MB / 1.047 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/0.04424, allocations: 1.87 MB / 1.049 GB, free: 11.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.04477, allocations: 0.562 MB / 1.05 GB, free: 10.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.173e-05/0.04485, allocations: 20.98 kB / 1.05 GB, free: 10.58 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.04487, allocations: 43.56 kB / 1.05 GB, free: 10.53 MB / 1.01 GB Notification: Performance of pre-optimization done (n=103): time 2.204e-06/0.04488, allocations: 0 / 1.05 GB, free: 10.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=110): time 0.003544/0.04842, allocations: 3.122 MB / 1.053 GB, free: 7.395 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.04845, allocations: 64.41 kB / 1.053 GB, free: 7.32 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.04914, allocations: 0.9553 MB / 1.054 GB, free: 6.348 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.04918, allocations: 41.7 kB / 1.054 GB, free: 6.301 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.04949, allocations: 0.7494 MB / 1.054 GB, free: 5.543 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.04967, allocations: 400.6 kB / 1.055 GB, free: 5.148 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.0499, allocations: 283.4 kB / 1.055 GB, free: 4.867 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.04996, allocations: 301.1 kB / 1.055 GB, free: 4.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006089/0.05057, allocations: 0.6168 MB / 1.056 GB, free: 3.953 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/0.05138, allocations: 1.106 MB / 1.057 GB, free: 2.629 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.05309, allocations: 1.832 MB / 1.059 GB, free: 0.5781 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.05309, allocations: 4 kB / 1.059 GB, free: 0.5742 MB / 1.01 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.4294/0.4825, allocations: 2.102 MB / 1.061 GB, free: 95.33 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.4825, allocations: 15.66 kB / 1.061 GB, free: 95.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.4825, allocations: 17.78 kB / 1.061 GB, free: 95.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.483, allocations: 254.8 kB / 1.061 GB, free: 95.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/0.484, allocations: 369.2 kB / 1.062 GB, free: 95.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/0.4883, allocations: 10.73 MB / 1.072 GB, free: 85.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.4894, allocations: 125.5 kB / 1.072 GB, free: 85.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/0.4895, allocations: 69.34 kB / 1.072 GB, free: 85.01 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005689/0.49, allocations: 417 kB / 1.073 GB, free: 84.76 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4902, allocations: 138.9 kB / 1.073 GB, free: 84.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.4921, allocations: 1.67 MB / 1.074 GB, free: 84.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.4921, allocations: 10.88 kB / 1.074 GB, free: 84.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4921, allocations: 4.406 kB / 1.074 GB, free: 84.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4921, allocations: 13.97 kB / 1.074 GB, free: 84.09 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/0.4957, allocations: 3.109 MB / 1.077 GB, free: 82.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.4957, allocations: 8.719 kB / 1.077 GB, free: 82.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.4962, allocations: 224.9 kB / 1.078 GB, free: 82.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/0.4967, allocations: 242 kB / 1.078 GB, free: 82.61 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.4967, allocations: 27.81 kB / 1.078 GB, free: 82.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003947/0.5007, allocations: 10.71 MB / 1.088 GB, free: 72.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5007, allocations: 10.06 kB / 1.088 GB, free: 72.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.5026, allocations: 1.797 MB / 1.09 GB, free: 71.39 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004275/0.503, allocations: 231 kB / 1.09 GB, free: 71.28 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.5031, allocations: 34.25 kB / 1.09 GB, free: 71.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.5037, allocations: 90.94 kB / 1.091 GB, free: 71.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5038, allocations: 102.2 kB / 1.091 GB, free: 71.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.636e-05/0.5039, allocations: 32.69 kB / 1.091 GB, free: 71.22 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005698/0.5044, allocations: 0.6215 MB / 1.091 GB, free: 70.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5044, allocations: 3.062 kB / 1.091 GB, free: 70.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001173/0.5056, allocations: 390.8 kB / 1.092 GB, free: 70.92 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001944/0.5076, allocations: 2.385 MB / 1.094 GB, free: 69.46 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002296/0.5099, allocations: 2.389 MB / 1.096 GB, free: 68.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5099, allocations: 3.094 kB / 1.096 GB, free: 68.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.511, allocations: 1.589 MB / 1.098 GB, free: 67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.5123, allocations: 361.2 kB / 1.098 GB, free: 66.89 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.5249, allocations: 11.52 MB / 1.109 GB, free: 60.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.5255, allocations: 0.7317 MB / 1.11 GB, free: 60.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007082/0.5262, allocations: 367.4 kB / 1.11 GB, free: 60.39 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.5266, allocations: 0.5385 MB / 1.111 GB, free: 59.98 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/0.5266, allocations: 0 / 1.111 GB, free: 59.98 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.6456, allocations: 30.62 MB / 1.141 GB, free: 56.57 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.38, allocations: 8.469 kB / 1.141 GB, free: 56.57 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_Loads_Examples_ThreePhases.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.847482476383448]