Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.0007981/0.0007981, 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.0008794/0.0008794, allocations: 215.3 kB / 23.02 MB, free: 2.969 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.9411/0.9411, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.885/1.885, allocations: 0.5046 GB / 0.8104 GB, free: 2.789 MB / 0.6511 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.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.000971/0.000971, allocations: 67.88 kB / 1.177 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7293, allocations: 180 MB / 1.352 GB, free: 1.703 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002407/0.7317, allocations: 2.07 MB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.7334, allocations: 1.733 MB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.7335, allocations: 4 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.7341, allocations: 205 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 9.016e-05/0.7341, allocations: 67.36 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.7349, allocations: 429.5 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.7352, allocations: 402.8 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.7353, allocations: 28.56 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.7354, allocations: 155.6 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.7356, allocations: 147.5 kB / 1.358 GB, free: 12.48 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.7356, allocations: 24 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.7359, allocations: 267.6 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.736, allocations: 119.6 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.7361, allocations: 131.3 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.7366, allocations: 0.5956 MB / 1.359 GB, free: 11.35 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7366, allocations: 4 kB / 1.359 GB, free: 11.35 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7366, allocations: 0 / 1.359 GB, free: 11.35 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7366, allocations: 0 / 1.359 GB, free: 11.35 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007721/0.7374, allocations: 0.646 MB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.7374, allocations: 8.922 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.7375, allocations: 50.67 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009195/0.7384, allocations: 172.5 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.7387, allocations: 320.7 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.415e-05/0.7388, allocations: 127.4 kB / 1.36 GB, free: 9.949 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.7388, allocations: 8.359 kB / 1.36 GB, free: 9.941 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.7394, allocations: 433.2 kB / 1.36 GB, free: 9.512 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.7394, allocations: 4 kB / 1.36 GB, free: 9.508 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.7394, allocations: 4 kB / 1.36 GB, free: 9.504 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.7394, allocations: 4 kB / 1.36 GB, free: 9.5 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.7402, allocations: 0.6149 MB / 1.361 GB, free: 8.887 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.7413, allocations: 0.948 MB / 1.362 GB, free: 7.895 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.7434, allocations: 0.8597 MB / 1.363 GB, free: 7.027 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003778/0.7438, allocations: 312.6 kB / 1.363 GB, free: 6.719 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.7438, allocations: 3.938 kB / 1.363 GB, free: 6.715 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.7443, allocations: 439 kB / 1.363 GB, free: 6.273 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.7443, allocations: 0 / 1.363 GB, free: 6.273 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.00126/0.7455, allocations: 0.9499 MB / 1.364 GB, free: 5.316 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.7456, allocations: 51.41 kB / 1.364 GB, free: 5.254 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.7459, allocations: 441.6 kB / 1.365 GB, free: 4.809 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.7459, allocations: 29.7 kB / 1.365 GB, free: 4.773 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.746, allocations: 176 kB / 1.365 GB, free: 4.598 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.746, allocations: 51.53 kB / 1.365 GB, free: 4.547 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.7461, allocations: 57.67 kB / 1.365 GB, free: 4.484 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7462, allocations: 346.7 kB / 1.365 GB, free: 4.137 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.7467, allocations: 413.5 kB / 1.366 GB, free: 3.727 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.7471, allocations: 413.4 kB / 1.366 GB, free: 3.316 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.7478, allocations: 0.618 MB / 1.367 GB, free: 2.691 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7478, allocations: 0 / 1.367 GB, free: 2.691 MB / 1.042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001001/0.7488, allocations: 0.9572 MB / 1.368 GB, free: 1.715 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.7489, allocations: 37.69 kB / 1.368 GB, free: 1.672 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.7489, allocations: 0 / 1.368 GB, free: 1.672 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7489, allocations: 8 kB / 1.368 GB, free: 1.664 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.7491, allocations: 71.84 kB / 1.368 GB, free: 1.594 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7491, allocations: 0 / 1.368 GB, free: 1.594 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.7493, allocations: 51.78 kB / 1.368 GB, free: 1.543 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.7493, allocations: 15.98 kB / 1.368 GB, free: 1.527 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.7495, allocations: 192 kB / 1.368 GB, free: 1.332 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.7495, allocations: 31.81 kB / 1.368 GB, free: 1.301 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.7495, allocations: 39.34 kB / 1.368 GB, free: 1.262 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7495, allocations: 4 kB / 1.368 GB, free: 1.258 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7495, allocations: 0 / 1.368 GB, free: 1.258 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7496, allocations: 7.922 kB / 1.368 GB, free: 1.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.7499, allocations: 468.1 kB / 1.369 GB, free: 0.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7499, allocations: 4 kB / 1.369 GB, free: 0.7461 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.7501, allocations: 71.91 kB / 1.369 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7501, allocations: 0 / 1.369 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.7501, allocations: 7.984 kB / 1.369 GB, free: 0.668 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7501, allocations: 0 / 1.369 GB, free: 0.668 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7501, allocations: 3.938 kB / 1.369 GB, free: 0.6641 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.7509, allocations: 0.6943 MB / 1.369 GB, free: 15.95 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.751, allocations: 91.92 kB / 1.37 GB, free: 15.86 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.7511, allocations: 4 kB / 1.37 GB, free: 15.86 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.7512, allocations: 47.94 kB / 1.37 GB, free: 15.81 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.7513, allocations: 15.97 kB / 1.37 GB, free: 15.8 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.7513, allocations: 15.92 kB / 1.37 GB, free: 15.78 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002077/0.7515, allocations: 323.1 kB / 1.37 GB, free: 15.47 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.7515, allocations: 4 kB / 1.37 GB, free: 15.47 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002236/0.7518, allocations: 75.95 kB / 1.37 GB, free: 15.39 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.7528, allocations: 1.244 MB / 1.371 GB, free: 14.12 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0009296/0.7538, allocations: 0.7974 MB / 1.372 GB, free: 13.3 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7538, allocations: 0 / 1.372 GB, free: 13.3 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.7542, allocations: 334.4 kB / 1.372 GB, free: 12.98 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.7544, allocations: 77.31 kB / 1.372 GB, free: 12.9 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.7598, allocations: 6.29 MB / 1.379 GB, free: 6.488 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.76, allocations: 198.1 kB / 1.379 GB, free: 6.273 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.7602, allocations: 110.2 kB / 1.379 GB, free: 6.168 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.7603, allocations: 111.4 kB / 1.379 GB, free: 6.059 MB / 1.057 GB Notification: Performance of SimCode: time 1.162e-06/0.7604, allocations: 0 / 1.379 GB, free: 6.059 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0797/0.8401, allocations: 12.03 MB / 1.391 GB, free: 10.25 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.85, allocations: 8.859 kB / 1.391 GB, free: 10.25 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu) > Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu) > Buildings_13_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.546770228073001]