Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001229/0.001229, allocations: 108.3 kB / 19.73 MB, free: 420 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.0009928/0.0009928, allocations: 214.8 kB / 23.02 MB, free: 2.957 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 1.126/1.126, allocations: 230.6 MB / 256.8 MB, free: 9.609 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 2.013/2.013, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 1.177 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004085/1.014, allocations: 3.462 MB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.004235/1.018, allocations: 2.42 MB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005171/1.018, allocations: 19.81 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007968/1.019, allocations: 246.4 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/1.02, allocations: 0.5339 MB / 1.359 GB, free: 11 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/1.022, allocations: 0.5584 MB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001571/1.023, allocations: 1.402 MB / 1.361 GB, free: 9.031 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/1.023, allocations: 105.6 kB / 1.361 GB, free: 8.922 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007154/1.024, allocations: 434.6 kB / 1.361 GB, free: 8.496 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007102/1.025, allocations: 478.1 kB / 1.362 GB, free: 8.027 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.892e-05/1.025, allocations: 56 kB / 1.362 GB, free: 7.973 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/1.025, allocations: 72 kB / 1.362 GB, free: 7.902 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/1.025, allocations: 394.8 kB / 1.362 GB, free: 7.516 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002552/1.026, allocations: 390.1 kB / 1.363 GB, free: 7.133 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008109/1.026, allocations: 0.9686 MB / 1.364 GB, free: 6.16 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/1.026, allocations: 0 / 1.364 GB, free: 6.16 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.314e-06/1.026, allocations: 0 / 1.364 GB, free: 6.16 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.026, allocations: 0 / 1.364 GB, free: 6.16 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001734/1.028, allocations: 1.228 MB / 1.365 GB, free: 4.898 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.384e-05/1.028, allocations: 12.92 kB / 1.365 GB, free: 4.887 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/1.028, allocations: 74.66 kB / 1.365 GB, free: 4.805 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/1.028, allocations: 112.3 kB / 1.365 GB, free: 4.695 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/1.03, allocations: 0.6105 MB / 1.366 GB, free: 4.059 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/1.03, allocations: 45.03 kB / 1.366 GB, free: 4.016 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.829e-05/1.03, allocations: 60.12 kB / 1.366 GB, free: 3.957 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/1.03, allocations: 411 kB / 1.366 GB, free: 3.523 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.03, allocations: 0 / 1.366 GB, free: 3.523 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/1.03, allocations: 12 kB / 1.366 GB, free: 3.512 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.03, allocations: 8 kB / 1.366 GB, free: 3.504 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/1.031, allocations: 238.4 kB / 1.366 GB, free: 3.27 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/1.033, allocations: 1.886 MB / 1.368 GB, free: 1.309 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/1.034, allocations: 0.522 MB / 1.369 GB, free: 0.7773 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/1.034, allocations: 145.3 kB / 1.369 GB, free: 0.6328 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/1.034, allocations: 12 kB / 1.369 GB, free: 0.6211 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.034, allocations: 34.56 kB / 1.369 GB, free: 0.5781 MB / 1.042 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/1.034, allocations: 3.938 kB / 1.369 GB, free: 0.5742 MB / 1.042 GB Notification: Performance of matching and sorting (n=30): time 0.001181/1.035, allocations: 0.6653 MB / 1.37 GB, free: 15.89 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/1.035, allocations: 55.41 kB / 1.37 GB, free: 15.83 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.036, allocations: 0.9349 MB / 1.371 GB, free: 14.88 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/1.036, allocations: 41.7 kB / 1.371 GB, free: 14.83 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.037, allocations: 365.2 kB / 1.371 GB, free: 14.47 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 9.851e-05/1.037, allocations: 126.9 kB / 1.371 GB, free: 14.35 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/1.037, allocations: 178.5 kB / 1.371 GB, free: 14.17 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.037, allocations: 394.8 kB / 1.372 GB, free: 13.77 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/1.037, allocations: 241.8 kB / 1.372 GB, free: 13.54 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/1.038, allocations: 0.6391 MB / 1.372 GB, free: 12.71 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008006/1.039, allocations: 0.8854 MB / 1.373 GB, free: 11.63 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/1.039, allocations: 4 kB / 1.373 GB, free: 11.62 MB / 1.057 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001322/1.04, allocations: 1.022 MB / 1.374 GB, free: 10.59 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/1.04, allocations: 15.98 kB / 1.374 GB, free: 10.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.04, allocations: 15.94 kB / 1.374 GB, free: 10.55 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/1.041, allocations: 126.7 kB / 1.374 GB, free: 10.42 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/1.041, allocations: 191.7 kB / 1.375 GB, free: 10.23 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/1.045, allocations: 4.16 MB / 1.379 GB, free: 5.727 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.046, allocations: 123.2 kB / 1.379 GB, free: 5.605 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/1.046, allocations: 36 kB / 1.379 GB, free: 5.57 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * 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,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004557/1.047, allocations: 274 kB / 1.379 GB, free: 5.293 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/1.047, allocations: 87.44 kB / 1.379 GB, free: 5.207 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/1.047, allocations: 76.52 kB / 1.379 GB, free: 5.125 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/1.047, allocations: 4 kB / 1.379 GB, free: 5.121 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/1.047, allocations: 4 kB / 1.379 GB, free: 5.117 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.047, allocations: 0 / 1.379 GB, free: 5.117 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/1.048, allocations: 0.5236 MB / 1.38 GB, free: 4.551 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.048, allocations: 4 kB / 1.38 GB, free: 4.547 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/1.048, allocations: 63.88 kB / 1.38 GB, free: 4.484 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002811/1.048, allocations: 102.5 kB / 1.38 GB, free: 4.375 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/1.048, allocations: 15.98 kB / 1.38 GB, free: 4.359 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/1.051, allocations: 4.12 MB / 1.384 GB, free: 15.9 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.051, allocations: 3.984 kB / 1.384 GB, free: 15.89 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/1.052, allocations: 0.7446 MB / 1.385 GB, free: 15.12 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/1.052, allocations: 139.2 kB / 1.385 GB, free: 14.99 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/1.052, allocations: 11.98 kB / 1.385 GB, free: 14.98 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/1.053, allocations: 23.97 kB / 1.385 GB, free: 14.95 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/1.053, allocations: 23.95 kB / 1.385 GB, free: 14.93 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.053, allocations: 11.94 kB / 1.385 GB, free: 14.92 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0006979/1.054, allocations: 0.6278 MB / 1.386 GB, free: 14.3 MB / 1.073 GB Notification: Performance of sort global known variables: time 5e-08/1.054, allocations: 0 / 1.386 GB, free: 14.3 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001371/1.055, allocations: 275.7 kB / 1.386 GB, free: 14.03 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[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 (23): * Single equations (assignments): 20 * 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,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/1.056, allocations: 1.292 MB / 1.387 GB, free: 12.7 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.057, allocations: 0.8967 MB / 1.388 GB, free: 11.76 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.057, allocations: 0 / 1.388 GB, free: 11.76 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004936/1.058, allocations: 0.512 MB / 1.388 GB, free: 11.21 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008353/1.059, allocations: 175.5 kB / 1.389 GB, free: 11.04 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009495/1.068, allocations: 7.855 MB / 1.396 GB, free: 2.648 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/1.069, allocations: 392.5 kB / 1.397 GB, free: 2.238 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0004021/1.069, allocations: 153.8 kB / 1.397 GB, free: 2.086 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.069, allocations: 279.3 kB / 1.397 GB, free: 1.812 MB / 1.073 GB Notification: Performance of SimCode: time 2.655e-06/1.069, allocations: 0 / 1.397 GB, free: 1.812 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1232/1.192, allocations: 19.17 MB / 1.416 GB, free: 15.04 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.365/9.557, allocations: 4.281 kB / 1.416 GB, free: 15.04 MB / 1.104 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu) > Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_fmpy.pipe ; mkfifo Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu) > Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.022147099487484]