Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0007554/0.0007554, 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.001127/0.001127, 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.9119/0.9119, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.81/1.81, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.Examples.GridDCLoad,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.969e-05, allocations: 6.219 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003495/0.003515, allocations: 3.041 MB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.005608, allocations: 1.877 MB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.005746, allocations: 8 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.006338, allocations: 270.8 kB / 1.006 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.006696, allocations: 210.7 kB / 1.006 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.007207, allocations: 266.2 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.007532, allocations: 326.9 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.007798, allocations: 145.1 kB / 1.007 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.008058, allocations: 191.5 kB / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.008303, allocations: 135.6 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.008333, allocations: 20 kB / 1.007 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004545/0.008787, allocations: 387 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.008879, allocations: 95.7 kB / 1.007 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.008957, allocations: 83.83 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005393/0.009496, allocations: 0.518 MB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.0095, allocations: 0 / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.834e-06/0.009501, allocations: 3.984 kB / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.009507, allocations: 0 / 1.008 GB, free: 5.992 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006927/0.0102, allocations: 0.4971 MB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.01024, allocations: 9.344 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.01029, allocations: 54.73 kB / 1.009 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/0.01079, allocations: 120.7 kB / 1.009 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.01105, allocations: 197.4 kB / 1.009 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.01106, allocations: 12.88 kB / 1.009 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.01109, allocations: 20.31 kB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.0115, allocations: 401.1 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.01152, allocations: 4.125 kB / 1.009 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.01154, allocations: 16.12 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.01157, allocations: 20.48 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.01191, allocations: 301.7 kB / 1.01 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.01348, allocations: 1.272 MB / 1.011 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.01378, allocations: 244.9 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.01389, allocations: 97.95 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.01394, allocations: 11.98 kB / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.01397, allocations: 46.44 kB / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.01397, allocations: 0 / 1.011 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.001537/0.01551, allocations: 0.8862 MB / 1.012 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.01554, allocations: 77.11 kB / 1.012 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.01571, allocations: 223.8 kB / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.01573, allocations: 33.69 kB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.0158, allocations: 172.4 kB / 1.013 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.01585, allocations: 87.27 kB / 1.013 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.01593, allocations: 57.7 kB / 1.013 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.01601, allocations: 330.8 kB / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.01615, allocations: 135.9 kB / 1.013 GB, free: 452 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.01632, allocations: 206.8 kB / 1.013 GB, free: 212 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.01665, allocations: 367.9 kB / 1.014 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01666, allocations: 0 / 1.014 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005658/0.01722, allocations: 0.5211 MB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.01724, allocations: 4 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.01724, allocations: 4 kB / 1.014 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003112/0.01755, allocations: 151.6 kB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.01771, allocations: 59.89 kB / 1.014 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.01992, allocations: 3.976 MB / 1.018 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.02003, allocations: 19.97 kB / 1.018 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.02004, allocations: 16 kB / 1.018 GB, free: 10.75 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.02017, allocations: 158 kB / 1.018 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.02021, allocations: 31.78 kB / 1.018 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.02076, allocations: 462.2 kB / 1.019 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.02076, allocations: 7.938 kB / 1.019 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.02076, allocations: 0 / 1.019 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.02077, allocations: 4.094 kB / 1.019 GB, free: 10.08 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.02187, allocations: 0.9583 MB / 1.02 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.02187, allocations: 4 kB / 1.02 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.02194, allocations: 27.98 kB / 1.02 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.02216, allocations: 143.5 kB / 1.02 GB, free: 8.855 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.02218, allocations: 11.98 kB / 1.02 GB, free: 8.844 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.02417, allocations: 3.937 MB / 1.024 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.02418, allocations: 7.938 kB / 1.024 GB, free: 4.617 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.02467, allocations: 0.6022 MB / 1.025 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.02474, allocations: 59.77 kB / 1.025 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.02476, allocations: 8 kB / 1.025 GB, free: 3.895 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.02489, allocations: 19.92 kB / 1.025 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.02493, allocations: 36.02 kB / 1.025 GB, free: 3.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.02494, allocations: 8 kB / 1.025 GB, free: 3.832 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001011/0.02504, allocations: 153.5 kB / 1.025 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.02504, allocations: 0 / 1.025 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003622/0.02541, allocations: 95.92 kB / 1.025 GB, free: 3.59 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007913/0.0262, allocations: 1.207 MB / 1.026 GB, free: 2.32 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000626/0.02682, allocations: 0.5517 MB / 1.027 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.02683, allocations: 0.625 kB / 1.027 GB, free: 1.742 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.02711, allocations: 397.2 kB / 1.027 GB, free: 1.328 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.02747, allocations: 37.45 kB / 1.027 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.03033, allocations: 3.32 MB / 1.03 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.03046, allocations: 177.2 kB / 1.03 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.03058, allocations: 62.22 kB / 1.03 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.03091, allocations: 76.47 kB / 1.031 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of SimCode: time 9.92e-07/0.03091, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08753/0.1184, allocations: 7.508 MB / 1.038 GB, free: 6.109 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.545, allocations: 3.938 kB / 1.038 GB, free: 6.105 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_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_Examples_GridDCLoad.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.954499051906168]