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.0008916/0.0008916, 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.001003/0.001003, 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.9095/0.9095, 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.765/1.765, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.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 2.345e-06/2.345e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.317e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003642/0.003665, allocations: 2.079 MB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.006615, allocations: 1.744 MB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.00678, allocations: 0 / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.007543, allocations: 202.7 kB / 1.005 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.007713, allocations: 67.34 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.008898, allocations: 434.3 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.009445, allocations: 414.6 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.009559, allocations: 20.58 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.009825, allocations: 211.6 kB / 1.006 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.01004, allocations: 139.6 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.0101, allocations: 24 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005052/0.01061, allocations: 263.5 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.01076, allocations: 119.6 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.0109, allocations: 115.7 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.01179, allocations: 0.635 MB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01179, allocations: 0 / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.783e-06/0.01179, allocations: 0 / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.0118, allocations: 3.938 kB / 1.007 GB, free: 7.055 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00117/0.01297, allocations: 0.6422 MB / 1.008 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.01302, allocations: 13.34 kB / 1.008 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.112e-05/0.01308, allocations: 46.73 kB / 1.008 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.01464, allocations: 176.5 kB / 1.008 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.01516, allocations: 308 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.0153, allocations: 123.4 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.01534, allocations: 12.38 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/0.01624, allocations: 441.7 kB / 1.009 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01625, allocations: 192 / 1.009 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.01629, allocations: 3.938 kB / 1.009 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.01629, allocations: 4 kB / 1.009 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.01766, allocations: 0.6011 MB / 1.009 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.01947, allocations: 0.9482 MB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.02313, allocations: 0.8572 MB / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/0.0238, allocations: 308.6 kB / 1.011 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.02383, allocations: 12 kB / 1.011 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008691/0.0247, allocations: 441.6 kB / 1.012 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 2.956e-06/0.0247, allocations: 0 / 1.012 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.002188/0.02689, allocations: 0.9499 MB / 1.013 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.02693, allocations: 55.41 kB / 1.013 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.02743, allocations: 433.6 kB / 1.013 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/0.02749, allocations: 33.7 kB / 1.013 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.02763, allocations: 175.9 kB / 1.013 GB, free: 328 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.02778, allocations: 51.62 kB / 1.013 GB, free: 276 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.0279, allocations: 53.67 kB / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.02805, allocations: 350.7 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007511/0.0288, allocations: 409.4 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/0.02953, allocations: 413.5 kB / 1.015 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.03079, allocations: 0.6181 MB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.03079, allocations: 0 / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001761/0.03255, allocations: 0.9649 MB / 1.016 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.03261, allocations: 41.69 kB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.03261, allocations: 0 / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.03263, allocations: 4 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.03302, allocations: 67.91 kB / 1.016 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.03302, allocations: 0 / 1.016 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.03336, allocations: 51.78 kB / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.03341, allocations: 15.97 kB / 1.016 GB, free: 13.25 MB / 0.9792 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.0002658/0.03368, allocations: 193.7 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.03376, allocations: 31.81 kB / 1.016 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.03383, allocations: 43.39 kB / 1.016 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.03383, allocations: 4 kB / 1.017 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.03384, allocations: 0 / 1.017 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.03384, allocations: 0 / 1.017 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.03438, allocations: 472.2 kB / 1.017 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.03438, allocations: 0 / 1.017 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.03474, allocations: 63.92 kB / 1.017 GB, free: 12.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.03475, allocations: 3.984 kB / 1.017 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.03478, allocations: 11.98 kB / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.03478, allocations: 0 / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.03478, allocations: 0 / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.03624, allocations: 0.6832 MB / 1.018 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.03646, allocations: 95.62 kB / 1.018 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.03652, allocations: 4 kB / 1.018 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.03688, allocations: 47.94 kB / 1.018 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.03697, allocations: 15.97 kB / 1.018 GB, free: 11.53 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.037, allocations: 19.97 kB / 1.018 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003574/0.03736, allocations: 315.1 kB / 1.018 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/0.03736, allocations: 0 / 1.018 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004246/0.03779, allocations: 75.98 kB / 1.018 GB, free: 11.13 MB / 0.9792 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.001861/0.03965, allocations: 1.256 MB / 1.019 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.04128, allocations: 0.8037 MB / 1.02 GB, free: 9.023 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.04129, allocations: 3.938 kB / 1.02 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.04206, allocations: 327.7 kB / 1.021 GB, free: 8.699 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.04254, allocations: 79.39 kB / 1.021 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/0.04889, allocations: 6.31 MB / 1.027 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.04906, allocations: 202.1 kB / 1.027 GB, free: 1.977 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002825/0.04935, allocations: 106.2 kB / 1.027 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.0495, allocations: 108.4 kB / 1.027 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of SimCode: time 1.643e-06/0.0495, allocations: 4 kB / 1.027 GB, free: 1.758 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08907/0.1386, allocations: 12.06 MB / 1.039 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.547, allocations: 2.031 kB / 1.039 GB, free: 5.934 MB / 0.9948 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.45615164656192]