Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001154/0.001154, 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.002171/0.002171, 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.862/0.862, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.76/1.76, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.268e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00504/0.005053, allocations: 5.823 MB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.008649, allocations: 3.082 MB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.00894, allocations: 39.62 kB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.01008, allocations: 0.9411 MB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005915/0.01067, allocations: 0.4932 MB / 1.011 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.01122, allocations: 494.5 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.01191, allocations: 1.127 MB / 1.012 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005224/0.01244, allocations: 0.51 MB / 1.013 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004872/0.01292, allocations: 0.6039 MB / 1.013 GB, free: 376 kB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.0133, allocations: 426.8 kB / 1.014 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.01336, allocations: 60 kB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.01375, allocations: 462.6 kB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.01394, allocations: 307.1 kB / 1.015 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.01412, allocations: 267.3 kB / 1.015 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.01491, allocations: 1.203 MB / 1.016 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.01491, allocations: 7.922 kB / 1.016 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01491, allocations: 0 / 1.016 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.01492, allocations: 0 / 1.016 GB, free: 13.66 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001209/0.01613, allocations: 0.9909 MB / 1.017 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.01617, allocations: 13.34 kB / 1.017 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.107e-05/0.01626, allocations: 114.7 kB / 1.017 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.01714, allocations: 224.2 kB / 1.017 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.0177, allocations: 0.5119 MB / 1.018 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.01773, allocations: 45.67 kB / 1.018 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.01779, allocations: 72.3 kB / 1.018 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.01872, allocations: 1.13 MB / 1.019 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.01874, allocations: 12.11 kB / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.01878, allocations: 32.11 kB / 1.019 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.629e-05/0.01885, allocations: 65.28 kB / 1.019 GB, free: 10.26 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006941/0.01954, allocations: 0.6879 MB / 1.02 GB, free: 9.574 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.02254, allocations: 4.495 MB / 1.024 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.02305, allocations: 411.5 kB / 1.025 GB, free: 4.508 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.02352, allocations: 391.7 kB / 1.025 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.02355, allocations: 4.688 kB / 1.025 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.02357, allocations: 42.5 kB / 1.025 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=41): time 1.823e-06/0.02357, allocations: 0 / 1.025 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.002367/0.02594, allocations: 1.726 MB / 1.027 GB, free: 2.324 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.02597, allocations: 63.34 kB / 1.027 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.0263, allocations: 474.5 kB / 1.027 GB, free: 1.773 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.02633, allocations: 33.7 kB / 1.027 GB, free: 1.734 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.02651, allocations: 396.1 kB / 1.028 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.02659, allocations: 154.7 kB / 1.028 GB, free: 1.191 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.0267, allocations: 110.3 kB / 1.028 GB, free: 1.078 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.02682, allocations: 362.8 kB / 1.028 GB, free: 0.7148 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.02707, allocations: 245.2 kB / 1.029 GB, free: 484 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.02744, allocations: 457 kB / 1.029 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.02812, allocations: 0.7556 MB / 1.03 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.02812, allocations: 4 kB / 1.03 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001445/0.02957, allocations: 1.046 MB / 1.031 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.02959, allocations: 8 kB / 1.031 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.0296, allocations: 11.94 kB / 1.031 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.03021, allocations: 327.6 kB / 1.031 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.03038, allocations: 99.81 kB / 1.031 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/0.03533, allocations: 7.05 MB / 1.038 GB, free: 6.047 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.03554, allocations: 32.02 kB / 1.038 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.03557, allocations: 24 kB / 1.038 GB, free: 5.992 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.0358, allocations: 249.5 kB / 1.038 GB, free: 5.738 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.03586, allocations: 63.56 kB / 1.038 GB, free: 5.676 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.03687, allocations: 0.9041 MB / 1.039 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.03688, allocations: 4 kB / 1.039 GB, free: 4.746 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03688, allocations: 4 kB / 1.039 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.03689, allocations: 3.984 kB / 1.039 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.03855, allocations: 1.602 MB / 1.041 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03855, allocations: 0 / 1.041 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.03864, allocations: 39.97 kB / 1.041 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/0.03915, allocations: 311.3 kB / 1.041 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.03917, allocations: 8 kB / 1.041 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004804/0.04397, allocations: 7.062 MB / 1.048 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.04398, allocations: 4 kB / 1.048 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.04543, allocations: 0.9801 MB / 1.049 GB, free: 10.14 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.04565, allocations: 99.52 kB / 1.049 GB, free: 10.04 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.04571, allocations: 12 kB / 1.049 GB, free: 10.03 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.04593, allocations: 19.97 kB / 1.049 GB, free: 10.01 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.04606, allocations: 43.92 kB / 1.049 GB, free: 9.969 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.04608, allocations: 15.94 kB / 1.049 GB, free: 9.953 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003298/0.04641, allocations: 310.9 kB / 1.05 GB, free: 9.652 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.11e-07/0.04641, allocations: 0 / 1.05 GB, free: 9.652 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008732/0.04728, allocations: 196 kB / 1.05 GB, free: 9.461 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002071/0.04935, allocations: 1.531 MB / 1.051 GB, free: 7.875 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.05093, allocations: 1.167 MB / 1.052 GB, free: 6.656 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.05094, allocations: 0 / 1.052 GB, free: 6.656 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.05181, allocations: 0.8346 MB / 1.053 GB, free: 5.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.05265, allocations: 204 kB / 1.053 GB, free: 5.582 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3883/0.441, allocations: 5.854 MB / 1.059 GB, free: 94.45 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.4412, allocations: 391.4 kB / 1.059 GB, free: 94.36 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.4415, allocations: 97.77 kB / 1.06 GB, free: 94.35 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.4416, allocations: 229 kB / 1.06 GB, free: 94.35 MB / 1.01 GB Notification: Performance of SimCode: time 1.202e-06/0.4416, allocations: 1.969 kB / 1.06 GB, free: 94.35 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09302/0.5346, allocations: 17.06 MB / 1.076 GB, free: 92.43 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.97, allocations: 4.109 kB / 1.076 GB, free: 92.43 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_L.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.326214373111725]