Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.000738/0.000738, 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.0007624/0.0007624, allocations: 173.6 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.8666/0.8666, allocations: 177.2 MB / 203.6 MB, free: 5.734 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.718/1.718, allocations: 389.6 MB / 0.6343 GB, free: 12.56 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.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.189e-05, allocations: 6.219 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005389/0.005401, allocations: 6.473 MB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003199/0.0086, allocations: 3.02 MB / 1.01 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.008877, allocations: 35.69 kB / 1.01 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.01066, allocations: 0.9451 MB / 1.011 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007327/0.01139, allocations: 0.5434 MB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.01205, allocations: 450.2 kB / 1.012 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.01305, allocations: 1.271 MB / 1.013 GB, free: 0.7266 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006462/0.0137, allocations: 0.5334 MB / 1.014 GB, free: 188 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.01436, allocations: 0.6624 MB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.0149, allocations: 486.6 kB / 1.015 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 8.5e-05/0.01498, allocations: 72 kB / 1.015 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.01541, allocations: 343.1 kB / 1.015 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.01566, allocations: 335 kB / 1.015 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.01593, allocations: 311.3 kB / 1.016 GB, free: 14 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.01696, allocations: 1.254 MB / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01696, allocations: 0 / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of FrontEnd: time 7.01e-07/0.01696, allocations: 0 / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.01697, allocations: 0 / 1.017 GB, free: 12.75 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001607/0.01858, allocations: 1.108 MB / 1.018 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.01862, allocations: 13.34 kB / 1.018 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.01874, allocations: 118.7 kB / 1.018 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.01998, allocations: 256 kB / 1.018 GB, free: 11.22 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/0.02074, allocations: 0.5314 MB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.02077, allocations: 45.67 kB / 1.019 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.02086, allocations: 68.36 kB / 1.019 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.02213, allocations: 1.332 MB / 1.02 GB, free: 9.047 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.02215, allocations: 8.125 kB / 1.02 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.02221, allocations: 36.11 kB / 1.02 GB, free: 9.004 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.02233, allocations: 85.25 kB / 1.02 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009835/0.02331, allocations: 0.7504 MB / 1.021 GB, free: 8.172 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/0.02716, allocations: 4.624 MB / 1.026 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000777/0.02793, allocations: 0.5049 MB / 1.026 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.02829, allocations: 290.2 kB / 1.026 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.02831, allocations: 4.5 kB / 1.026 GB, free: 2.57 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.02834, allocations: 39.06 kB / 1.027 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 4.408e-06/0.02835, allocations: 0 / 1.027 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48): time 0.002773/0.03112, allocations: 1.693 MB / 1.028 GB, free: 0.8125 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.03115, allocations: 55.91 kB / 1.028 GB, free: 0.7461 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.03167, allocations: 0.582 MB / 1.029 GB, free: 156 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.03171, allocations: 33.7 kB / 1.029 GB, free: 116 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.03195, allocations: 420.1 kB / 1.029 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.03206, allocations: 186.4 kB / 1.029 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.03222, allocations: 126.6 kB / 1.03 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.03235, allocations: 370.8 kB / 1.03 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.0327, allocations: 273.8 kB / 1.03 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.03318, allocations: 496.9 kB / 1.031 GB, free: 14.17 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.03432, allocations: 0.8125 MB / 1.031 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.03433, allocations: 8 kB / 1.031 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001443/0.03577, allocations: 1.073 MB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.03579, allocations: 16.81 kB / 1.032 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.0358, allocations: 4 kB / 1.032 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.0364, allocations: 275.2 kB / 1.033 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.03674, allocations: 127.8 kB / 1.033 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005059/0.0418, allocations: 6.682 MB / 1.039 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.04215, allocations: 39.95 kB / 1.039 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.04219, allocations: 28 kB / 1.039 GB, free: 4.52 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002512/0.04244, allocations: 257.5 kB / 1.04 GB, free: 4.258 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/0.04253, allocations: 75.52 kB / 1.04 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.04371, allocations: 0.8786 MB / 1.041 GB, free: 3.281 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.04371, allocations: 4 kB / 1.041 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.04372, allocations: 7.938 kB / 1.041 GB, free: 3.27 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.04372, allocations: 3.984 kB / 1.041 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.04574, allocations: 1.618 MB / 1.042 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.04574, allocations: 0 / 1.042 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.04592, allocations: 59.89 kB / 1.042 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000526/0.04644, allocations: 275.5 kB / 1.043 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.04647, allocations: 11.94 kB / 1.043 GB, free: 1.215 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/0.05131, allocations: 6.671 MB / 1.049 GB, free: 10.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.05131, allocations: 4.031 kB / 1.049 GB, free: 10.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.05246, allocations: 0.9661 MB / 1.05 GB, free: 9.066 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.05266, allocations: 127.4 kB / 1.05 GB, free: 8.941 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.05273, allocations: 11.98 kB / 1.05 GB, free: 8.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.05299, allocations: 27.97 kB / 1.05 GB, free: 8.902 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.05307, allocations: 47.86 kB / 1.05 GB, free: 8.855 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.0531, allocations: 12 kB / 1.05 GB, free: 8.844 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003526/0.05345, allocations: 391.1 kB / 1.051 GB, free: 8.469 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.05345, allocations: 0 / 1.051 GB, free: 8.469 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006464/0.05409, allocations: 224 kB / 1.051 GB, free: 8.25 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001641/0.05574, allocations: 1.538 MB / 1.052 GB, free: 6.652 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.05719, allocations: 1.229 MB / 1.054 GB, free: 5.375 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.05719, allocations: 0 / 1.054 GB, free: 5.375 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008461/0.05804, allocations: 0.8657 MB / 1.054 GB, free: 4.457 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.05884, allocations: 232.6 kB / 1.055 GB, free: 4.234 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3884/0.4472, allocations: 6.391 MB / 1.061 GB, free: 93.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.4475, allocations: 419.4 kB / 1.061 GB, free: 93.77 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00028/0.4477, allocations: 119.7 kB / 1.061 GB, free: 93.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.4479, allocations: 254.5 kB / 1.062 GB, free: 93.77 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.4479, allocations: 0 / 1.062 GB, free: 93.77 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08718/0.5351, allocations: 19.46 MB / 1.081 GB, free: 91.54 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.22/7.755, allocations: 4.219 kB / 1.081 GB, free: 91.54 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.990832953713834]