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.0008398/0.0008398, allocations: 80.45 kB / 19.96 MB, free: 4.594 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.0009484/0.0009484, allocations: 173.2 kB / 23.24 MB, free: 1.316 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.9063/0.9063, 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.809/1.809, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.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 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.995e-05, allocations: 2.281 kB / 1.001 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004171/0.004191, allocations: 4.225 MB / 1.005 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002228/0.006419, allocations: 1.827 MB / 1.007 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.00663, allocations: 11.94 kB / 1.007 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009258/0.007555, allocations: 0.5952 MB / 1.007 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005052/0.00806, allocations: 270.2 kB / 1.007 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.008567, allocations: 259.9 kB / 1.008 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.009179, allocations: 0.6305 MB / 1.008 GB, free: 4.598 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.009712, allocations: 347.1 kB / 1.009 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.01006, allocations: 347.2 kB / 1.009 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.01046, allocations: 243.3 kB / 1.009 GB, free: 3.676 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.01051, allocations: 36 kB / 1.009 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.01086, allocations: 231.4 kB / 1.009 GB, free: 3.414 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.01099, allocations: 175.5 kB / 1.01 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.01111, allocations: 147.7 kB / 1.01 GB, free: 3.098 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.01173, allocations: 0.627 MB / 1.01 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01173, allocations: 0 / 1.01 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01173, allocations: 0 / 1.01 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.01174, allocations: 0 / 1.01 GB, free: 2.469 MB / 0.9167 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.001219/0.01296, allocations: 0.6608 MB / 1.011 GB, free: 1.777 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.01301, allocations: 9.344 kB / 1.011 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.505e-05/0.01309, allocations: 82.69 kB / 1.011 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007699/0.01386, allocations: 148.5 kB / 1.011 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.01427, allocations: 272.6 kB / 1.011 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.0143, allocations: 25.38 kB / 1.011 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.01435, allocations: 32.38 kB / 1.012 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.01507, allocations: 0.6826 MB / 1.012 GB, free: 448 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.01508, allocations: 4.125 kB / 1.012 GB, free: 444 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.01512, allocations: 24.11 kB / 1.012 GB, free: 420 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/0.01517, allocations: 32.62 kB / 1.012 GB, free: 388 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.01569, allocations: 390.3 kB / 1.013 GB, free: 0 / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.01768, allocations: 1.73 MB / 1.014 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.01815, allocations: 244.9 kB / 1.015 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.01829, allocations: 96.81 kB / 1.015 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.0183, allocations: 0 / 1.015 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.01833, allocations: 38.56 kB / 1.015 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.01833, allocations: 0 / 1.015 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=23): time 0.001697/0.02003, allocations: 0.9048 MB / 1.016 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.02006, allocations: 59.34 kB / 1.016 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.02035, allocations: 304.5 kB / 1.016 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.02037, allocations: 29.7 kB / 1.016 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.0205, allocations: 232.2 kB / 1.016 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.02055, allocations: 91.25 kB / 1.016 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.02065, allocations: 57.98 kB / 1.016 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.02075, allocations: 342.8 kB / 1.017 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.0209, allocations: 104.6 kB / 1.017 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.02109, allocations: 191.8 kB / 1.017 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.02145, allocations: 320.8 kB / 1.017 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02145, allocations: 4 kB / 1.017 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006246/0.02208, allocations: 441.9 kB / 1.018 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.0221, allocations: 7.984 kB / 1.018 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.02211, allocations: 4 kB / 1.018 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.02237, allocations: 98.83 kB / 1.018 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.02258, allocations: 63.91 kB / 1.018 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.02539, allocations: 4.062 MB / 1.022 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.0256, allocations: 12 kB / 1.022 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.02562, allocations: 8.281 kB / 1.022 GB, free: 5.973 MB / 0.9323 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.0002189/0.02584, allocations: 190.4 kB / 1.022 GB, free: 5.777 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.02589, allocations: 31.81 kB / 1.022 GB, free: 5.746 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.02594, allocations: 46.34 kB / 1.022 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.02594, allocations: 3.938 kB / 1.022 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.02595, allocations: 4 kB / 1.022 GB, free: 5.691 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.02596, allocations: 0 / 1.022 GB, free: 5.691 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.02633, allocations: 336.4 kB / 1.022 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02633, allocations: 4 kB / 1.022 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.02648, allocations: 43.91 kB / 1.022 GB, free: 5.273 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.0267, allocations: 86.5 kB / 1.022 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.02671, allocations: 7.938 kB / 1.022 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.02916, allocations: 4.062 MB / 1.026 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.02916, allocations: 0 / 1.026 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.02983, allocations: 0.5551 MB / 1.027 GB, free: 196 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.02994, allocations: 51.81 kB / 1.027 GB, free: 144 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.02996, allocations: 0 / 1.027 GB, free: 144 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.03011, allocations: 12 kB / 1.027 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.03017, allocations: 19.95 kB / 1.027 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.03018, allocations: 4.125 kB / 1.027 GB, free: 108 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.4756/0.5058, allocations: 214 kB / 1.027 GB, free: 37.86 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5058, allocations: 0 / 1.027 GB, free: 37.86 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005984/0.5064, allocations: 97.53 kB / 1.027 GB, free: 37.86 MB / 0.9323 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.0009316/0.5073, allocations: 1.093 MB / 1.028 GB, free: 37.18 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006691/0.508, allocations: 0.5988 MB / 1.029 GB, free: 36.86 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.508, allocations: 1.062 kB / 1.029 GB, free: 36.86 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.5083, allocations: 462.3 kB / 1.029 GB, free: 36.53 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.5087, allocations: 71.19 kB / 1.03 GB, free: 36.53 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.5125, allocations: 3.353 MB / 1.033 GB, free: 34.61 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.5127, allocations: 229.2 kB / 1.033 GB, free: 34.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000195/0.5129, allocations: 58.61 kB / 1.033 GB, free: 34.52 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.513, allocations: 111 kB / 1.033 GB, free: 34.43 MB / 0.9323 GB Notification: Performance of SimCode: time 1.143e-06/0.513, allocations: 0 / 1.033 GB, free: 34.43 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1132/0.6262, allocations: 8.903 MB / 1.042 GB, free: 33 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.947, allocations: 4.562 kB / 1.042 GB, free: 33 MB / 0.9323 GB " [Timeout remaining time 292] (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: 12.405574606731534]