Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.0009743/0.0009743, 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.001049/0.001049, 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.952/0.952, 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.83/1.83, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 1.001 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.292e-05, allocations: 6.281 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003827/0.00385, allocations: 3.984 MB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003808/0.007659, allocations: 2.855 MB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.008072, allocations: 27.75 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.008847, allocations: 357.6 kB / 1.008 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.009892, allocations: 0.7151 MB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.01098, allocations: 0.6729 MB / 1.009 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.01229, allocations: 1.936 MB / 1.011 GB, free: 3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.01249, allocations: 123.1 kB / 1.011 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007608/0.01325, allocations: 0.8185 MB / 1.012 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/0.01394, allocations: 0.6195 MB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.01403, allocations: 80 kB / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.01456, allocations: 411.3 kB / 1.013 GB, free: 0.9453 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.01486, allocations: 0.4986 MB / 1.013 GB, free: 456 kB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.01515, allocations: 422.9 kB / 1.014 GB, free: 32 kB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.01623, allocations: 1.507 MB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01623, allocations: 4 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.113e-06/0.01623, allocations: 0 / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.01625, allocations: 0 / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001823/0.01807, allocations: 1.59 MB / 1.017 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.01811, allocations: 8.625 kB / 1.017 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.894e-05/0.01818, allocations: 82.72 kB / 1.017 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.01843, allocations: 148 kB / 1.017 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008686/0.0193, allocations: 0.7812 MB / 1.018 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.01932, allocations: 41.38 kB / 1.018 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.01938, allocations: 72.31 kB / 1.018 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.01995, allocations: 0.6104 MB / 1.019 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.01997, allocations: 192 / 1.019 GB, free: 11.09 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.02, allocations: 23.94 kB / 1.019 GB, free: 11.07 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.02001, allocations: 12 kB / 1.019 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/0.02062, allocations: 0.5582 MB / 1.019 GB, free: 10.5 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.02306, allocations: 2.294 MB / 1.021 GB, free: 8.145 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/0.02391, allocations: 0.8088 MB / 1.022 GB, free: 7.324 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.02421, allocations: 341.4 kB / 1.022 GB, free: 6.988 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.02427, allocations: 20.36 kB / 1.022 GB, free: 6.969 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.02429, allocations: 38.94 kB / 1.022 GB, free: 6.922 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 1.723e-06/0.02429, allocations: 3.938 kB / 1.023 GB, free: 6.918 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.001157/0.02545, allocations: 1.12 MB / 1.024 GB, free: 5.789 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.02548, allocations: 55.41 kB / 1.024 GB, free: 5.723 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.02649, allocations: 1.239 MB / 1.025 GB, free: 4.473 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.02653, allocations: 41.7 kB / 1.025 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.02676, allocations: 473.3 kB / 1.025 GB, free: 3.957 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.02686, allocations: 182.4 kB / 1.026 GB, free: 3.777 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.02702, allocations: 202.6 kB / 1.026 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.0272, allocations: 357.9 kB / 1.026 GB, free: 3.219 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005059/0.02771, allocations: 0.6425 MB / 1.027 GB, free: 2.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.02833, allocations: 0.971 MB / 1.028 GB, free: 1.461 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.02943, allocations: 1.592 MB / 1.029 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.02943, allocations: 4 kB / 1.029 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001476/0.03091, allocations: 1.787 MB / 1.031 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.03093, allocations: 10.34 kB / 1.031 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.03095, allocations: 16.09 kB / 1.031 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.0311, allocations: 48.83 kB / 1.031 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.03169, allocations: 259.7 kB / 1.031 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.03425, allocations: 6.734 MB / 1.038 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.03486, allocations: 135.1 kB / 1.038 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.0349, allocations: 47.92 kB / 1.038 GB, free: 6.371 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.03522, allocations: 304.1 kB / 1.038 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.03532, allocations: 115.2 kB / 1.038 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.0361, allocations: 0.8492 MB / 1.039 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.03611, allocations: 8 kB / 1.039 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.03611, allocations: 4 kB / 1.039 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.03612, allocations: 0 / 1.039 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.03686, allocations: 0.739 MB / 1.04 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.03686, allocations: 0 / 1.04 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.03714, allocations: 111.8 kB / 1.04 GB, free: 4.191 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.863e-05/0.03723, allocations: 32.83 kB / 1.04 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.03726, allocations: 19.98 kB / 1.04 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006845/0.03794, allocations: 1.334 MB / 1.041 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.03794, allocations: 0 / 1.041 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.03905, allocations: 1.378 MB / 1.043 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.03936, allocations: 195 kB / 1.043 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.03944, allocations: 12 kB / 1.043 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.03976, allocations: 40.05 kB / 1.043 GB, free: 1.051 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.03982, allocations: 31.94 kB / 1.043 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.03984, allocations: 8 kB / 1.043 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007765/0.04061, allocations: 0.8311 MB / 1.044 GB, free: 180 kB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.04061, allocations: 0 / 1.044 GB, free: 180 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007506/0.04136, allocations: 367.7 kB / 1.044 GB, free: 15.81 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001602/0.04296, allocations: 2.099 MB / 1.046 GB, free: 13.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.04457, allocations: 1.394 MB / 1.048 GB, free: 12.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.04457, allocations: 0 / 1.048 GB, free: 12.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.04494, allocations: 474.5 kB / 1.048 GB, free: 11.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.04562, allocations: 218.2 kB / 1.048 GB, free: 11.58 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.432/0.4776, allocations: 11.36 MB / 1.059 GB, free: 96.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.4779, allocations: 0.5041 MB / 1.06 GB, free: 96.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005224/0.4784, allocations: 203.3 kB / 1.06 GB, free: 96.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.4788, allocations: 398.6 kB / 1.06 GB, free: 96.62 MB / 1.01 GB Notification: Performance of SimCode: time 2.044e-06/0.4788, allocations: 2.719 kB / 1.06 GB, free: 96.62 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.5852, allocations: 26.42 MB / 1.086 GB, free: 94.04 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.06/9.645, allocations: 4.484 kB / 1.086 GB, free: 94.04 MB / 1.01 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu) > Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_fmpy.pipe ; mkfifo Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_fmpy_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 ../Buildings_13_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu) > Buildings_13_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.295563309453428]