Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.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.001508/0.001508, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001444/0.001444, allocations: 215.3 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9758/0.9758, allocations: 230.6 MB / 256.8 MB, free: 9.57 MB / 202.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.949/1.949, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] 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.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009978/0.0009978, allocations: 75.89 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8092, allocations: 180 MB / 1.352 GB, free: 1.57 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004896/0.8141, allocations: 4.282 MB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002654/0.8167, allocations: 1.815 MB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.8171, allocations: 11.94 kB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.8182, allocations: 0.602 MB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.8188, allocations: 270.6 kB / 1.359 GB, free: 10.57 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.8193, allocations: 251.4 kB / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.82, allocations: 0.611 MB / 1.36 GB, free: 9.711 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.8205, allocations: 345.4 kB / 1.36 GB, free: 9.375 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.8208, allocations: 255.1 kB / 1.361 GB, free: 9.125 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.8212, allocations: 262.9 kB / 1.361 GB, free: 8.867 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.8213, allocations: 40 kB / 1.361 GB, free: 8.828 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.8216, allocations: 231.5 kB / 1.361 GB, free: 8.602 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.8218, allocations: 155.5 kB / 1.361 GB, free: 8.449 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.8219, allocations: 187.1 kB / 1.361 GB, free: 8.266 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.8226, allocations: 0.6149 MB / 1.362 GB, free: 7.648 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8226, allocations: 0 / 1.362 GB, free: 7.648 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8226, allocations: 0 / 1.362 GB, free: 7.648 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.8226, allocations: 0 / 1.362 GB, free: 7.648 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001003/0.8236, allocations: 0.6626 MB / 1.363 GB, free: 6.957 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.8236, allocations: 12.91 kB / 1.363 GB, free: 6.945 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.882e-05/0.8237, allocations: 82.7 kB / 1.363 GB, free: 6.855 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.8243, allocations: 144.5 kB / 1.363 GB, free: 6.715 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003766/0.8246, allocations: 284.8 kB / 1.363 GB, free: 6.41 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.8247, allocations: 29.38 kB / 1.363 GB, free: 6.379 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.8247, allocations: 32.36 kB / 1.363 GB, free: 6.348 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.8254, allocations: 0.6822 MB / 1.364 GB, free: 5.598 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.8254, allocations: 3.938 kB / 1.364 GB, free: 5.594 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.8254, allocations: 23.97 kB / 1.364 GB, free: 5.57 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.8255, allocations: 28.64 kB / 1.364 GB, free: 5.543 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.8259, allocations: 390.3 kB / 1.364 GB, free: 5.16 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.8275, allocations: 1.738 MB / 1.366 GB, free: 3.348 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.8279, allocations: 234.5 kB / 1.366 GB, free: 3.109 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.828, allocations: 104.8 kB / 1.366 GB, free: 3.004 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.828, allocations: 0 / 1.366 GB, free: 3.004 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.828, allocations: 42.5 kB / 1.366 GB, free: 2.953 MB / 1.042 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.828, allocations: 0 / 1.366 GB, free: 2.953 MB / 1.042 GB Notification: Performance of matching and sorting (n=23): time 0.0014/0.8294, allocations: 0.8987 MB / 1.367 GB, free: 2.012 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.8295, allocations: 59.39 kB / 1.367 GB, free: 1.941 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.8297, allocations: 304.4 kB / 1.368 GB, free: 1.629 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8297, allocations: 33.7 kB / 1.368 GB, free: 1.59 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.8298, allocations: 232.1 kB / 1.368 GB, free: 1.359 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.8299, allocations: 87.31 kB / 1.368 GB, free: 1.273 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.83, allocations: 61.98 kB / 1.368 GB, free: 1.203 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8301, allocations: 338.8 kB / 1.368 GB, free: 0.8633 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.8302, allocations: 104.6 kB / 1.368 GB, free: 0.7617 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.8303, allocations: 187.7 kB / 1.369 GB, free: 0.5391 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.8306, allocations: 317.4 kB / 1.369 GB, free: 200 kB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8306, allocations: 0 / 1.369 GB, free: 200 kB / 1.042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004922/0.8311, allocations: 445.8 kB / 1.369 GB, free: 15.75 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.8311, allocations: 8 kB / 1.369 GB, free: 15.74 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.8311, allocations: 0 / 1.369 GB, free: 15.74 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.8314, allocations: 94.84 kB / 1.369 GB, free: 15.64 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.8316, allocations: 79.77 kB / 1.37 GB, free: 15.56 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.8338, allocations: 4.07 MB / 1.374 GB, free: 11.14 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.8339, allocations: 8 kB / 1.374 GB, free: 11.14 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.8339, allocations: 16.28 kB / 1.374 GB, free: 11.12 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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 {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.8341, allocations: 182.2 kB / 1.374 GB, free: 10.93 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.8342, allocations: 35.75 kB / 1.374 GB, free: 10.9 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.8342, allocations: 38.41 kB / 1.374 GB, free: 10.86 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.8342, allocations: 0 / 1.374 GB, free: 10.86 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8342, allocations: 4 kB / 1.374 GB, free: 10.85 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.8342, allocations: 7.922 kB / 1.374 GB, free: 10.84 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.8345, allocations: 336.6 kB / 1.374 GB, free: 10.47 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.8345, allocations: 3.938 kB / 1.374 GB, free: 10.47 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.8346, allocations: 39.92 kB / 1.374 GB, free: 10.43 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.8348, allocations: 94.48 kB / 1.374 GB, free: 10.33 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.8348, allocations: 0 / 1.374 GB, free: 10.33 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.8369, allocations: 4.07 MB / 1.378 GB, free: 5.914 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8369, allocations: 8 kB / 1.378 GB, free: 5.906 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.8374, allocations: 0.5551 MB / 1.379 GB, free: 5.328 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.8375, allocations: 43.83 kB / 1.379 GB, free: 5.285 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.8375, allocations: 4 kB / 1.379 GB, free: 5.281 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.8376, allocations: 15.98 kB / 1.379 GB, free: 5.266 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.8377, allocations: 15.97 kB / 1.379 GB, free: 5.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.8377, allocations: 11.94 kB / 1.379 GB, free: 5.238 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.000153/0.8378, allocations: 219.1 kB / 1.379 GB, free: 5.027 MB / 1.057 GB Notification: Performance of sort global known variables: time 3e-08/0.8378, allocations: 0 / 1.379 GB, free: 5.027 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003618/0.8382, allocations: 96 kB / 1.379 GB, free: 4.934 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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 {(1,1,100.0%), (1,2,100.0%), (1,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.0007333/0.8389, allocations: 1.087 MB / 1.38 GB, free: 3.812 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0006257/0.8396, allocations: 0.5972 MB / 1.381 GB, free: 3.176 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8396, allocations: 0 / 1.381 GB, free: 3.176 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.8398, allocations: 475.2 kB / 1.381 GB, free: 2.676 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.8402, allocations: 84.27 kB / 1.381 GB, free: 2.598 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.8433, allocations: 3.369 MB / 1.385 GB, free: 15.06 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.8435, allocations: 224.7 kB / 1.385 GB, free: 14.82 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.8436, allocations: 62.92 kB / 1.385 GB, free: 14.76 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.8437, allocations: 107.4 kB / 1.385 GB, free: 14.65 MB / 1.073 GB Notification: Performance of SimCode: time 2.154e-06/0.8437, allocations: 0 / 1.385 GB, free: 14.65 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09576/0.9395, allocations: 8.757 MB / 1.394 GB, free: 6.137 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/8.489, allocations: 3.984 kB / 1.394 GB, free: 6.133 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_fmpy_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.RCModel_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.378036268986762]