Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.0008844/0.0008844, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.0008223/0.0008223, 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.9001/0.9001, allocations: 177.1 MB / 203.5 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.802/1.802, 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.465e-05, allocations: 2.281 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006302/0.006327, allocations: 5.211 MB / 1.006 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003904/0.01023, allocations: 2.579 MB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000539/0.01077, allocations: 31.69 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.01218, allocations: 0.6787 MB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.01326, allocations: 441.2 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009073/0.01417, allocations: 413.8 kB / 1.01 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.01531, allocations: 0.9708 MB / 1.011 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.01595, allocations: 374.5 kB / 1.011 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008014/0.01675, allocations: 0.5259 MB / 1.012 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.01731, allocations: 367 kB / 1.012 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.333e-05/0.01739, allocations: 52 kB / 1.012 GB, free: 1.902 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006279/0.01802, allocations: 335 kB / 1.012 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003264/0.01834, allocations: 267.2 kB / 1.013 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.01861, allocations: 235.4 kB / 1.013 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.01977, allocations: 0.993 MB / 1.014 GB, free: 88 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.01978, allocations: 0 / 1.014 GB, free: 88 kB / 0.9636 GB Notification: Performance of FrontEnd: time 2.104e-06/0.01978, allocations: 0 / 1.014 GB, free: 88 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.0198, allocations: 0 / 1.014 GB, free: 88 kB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001641/0.02145, allocations: 0.9169 MB / 1.015 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.02149, allocations: 9.344 kB / 1.015 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.0216, allocations: 98.69 kB / 1.015 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.02286, allocations: 200.3 kB / 1.015 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.02365, allocations: 454.9 kB / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.02369, allocations: 37.38 kB / 1.015 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.02383, allocations: 60.48 kB / 1.015 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.02494, allocations: 0.9776 MB / 1.016 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.02497, allocations: 8.078 kB / 1.016 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.02502, allocations: 27.92 kB / 1.016 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.02518, allocations: 68.95 kB / 1.017 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000834/0.02602, allocations: 0.5696 MB / 1.017 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.02963, allocations: 3.561 MB / 1.021 GB, free: 8.797 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.03007, allocations: 279.2 kB / 1.021 GB, free: 8.516 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.03034, allocations: 213.3 kB / 1.021 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.03037, allocations: 4.281 kB / 1.021 GB, free: 8.301 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.0304, allocations: 34.84 kB / 1.021 GB, free: 8.258 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 3.807e-06/0.0304, allocations: 0 / 1.021 GB, free: 8.258 MB / 0.9792 GB Notification: Performance of matching and sorting (n=40): time 0.004514/0.03492, allocations: 2.34 MB / 1.023 GB, free: 5.867 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.03495, allocations: 55.41 kB / 1.023 GB, free: 5.801 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.03544, allocations: 461.9 kB / 1.024 GB, free: 5.336 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.03547, allocations: 33.7 kB / 1.024 GB, free: 5.297 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.03567, allocations: 356.4 kB / 1.024 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.03577, allocations: 142.8 kB / 1.024 GB, free: 4.805 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.03592, allocations: 102.2 kB / 1.024 GB, free: 4.699 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.03604, allocations: 370.7 kB / 1.025 GB, free: 4.328 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.03639, allocations: 237.2 kB / 1.025 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.0368, allocations: 407.3 kB / 1.025 GB, free: 3.621 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007928/0.03759, allocations: 0.674 MB / 1.026 GB, free: 2.875 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.0376, allocations: 4 kB / 1.026 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001604/0.0392, allocations: 0.9096 MB / 1.027 GB, free: 1.945 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.03923, allocations: 8.656 kB / 1.027 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.03924, allocations: 4 kB / 1.027 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.03983, allocations: 230.3 kB / 1.027 GB, free: 1.699 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.04014, allocations: 111.8 kB / 1.027 GB, free: 1.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003336/0.04348, allocations: 5.007 MB / 1.032 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.04383, allocations: 31.97 kB / 1.032 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.04385, allocations: 20 kB / 1.032 GB, free: 12.19 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002451/0.0441, allocations: 229.6 kB / 1.032 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.04416, allocations: 59.77 kB / 1.033 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009652/0.04513, allocations: 0.7695 MB / 1.033 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.04513, allocations: 7.938 kB / 1.033 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.04514, allocations: 4 kB / 1.033 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.04514, allocations: 0 / 1.033 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.04667, allocations: 1.4 MB / 1.035 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.04668, allocations: 0 / 1.035 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.04688, allocations: 80 kB / 1.035 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/0.04725, allocations: 202.6 kB / 1.035 GB, free: 9.332 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.04728, allocations: 12 kB / 1.035 GB, free: 9.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.05028, allocations: 4.929 MB / 1.04 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.05028, allocations: 7.938 kB / 1.04 GB, free: 4.039 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.05157, allocations: 1.116 MB / 1.041 GB, free: 2.875 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.05177, allocations: 95.61 kB / 1.041 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.05181, allocations: 12 kB / 1.041 GB, free: 2.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.052, allocations: 31.91 kB / 1.041 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.05207, allocations: 39.94 kB / 1.041 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.05209, allocations: 12 kB / 1.041 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000274/0.05237, allocations: 310.9 kB / 1.041 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05237, allocations: 0 / 1.041 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005085/0.05287, allocations: 172 kB / 1.042 GB, free: 2.219 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/0.05422, allocations: 1.684 MB / 1.043 GB, free: 484 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.05536, allocations: 0.9578 MB / 1.044 GB, free: 15.48 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.05536, allocations: 7.938 kB / 1.044 GB, free: 15.47 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.05591, allocations: 0.6564 MB / 1.045 GB, free: 14.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.05654, allocations: 190.1 kB / 1.045 GB, free: 14.59 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.0623, allocations: 5.57 MB / 1.05 GB, free: 8.738 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.06255, allocations: 354.2 kB / 1.051 GB, free: 8.363 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002683/0.06282, allocations: 109 kB / 1.051 GB, free: 8.254 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.063, allocations: 208.4 kB / 1.051 GB, free: 8.051 MB / 1.01 GB Notification: Performance of SimCode: time 1.103e-06/0.063, allocations: 0 / 1.051 GB, free: 8.051 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4793/0.5423, allocations: 15.71 MB / 1.066 GB, free: 94.99 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.406, allocations: 6.766 kB / 1.066 GB, free: 94.99 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_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_OnePhase_Lines_Examples_ACLine_RL.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.876383600756526]