Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 99.28 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 189.3 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.856/1.856, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.89 kB / 0.6721 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.261, allocations: 114.5 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.4195/0.6806, allocations: 4.338 MB / 0.7882 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004634/0.6853, allocations: 2.978 MB / 0.7912 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.6859, allocations: 21.53 kB / 0.7912 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.6871, allocations: 369.2 kB / 0.7915 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.6885, allocations: 0.64 MB / 0.7922 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.69, allocations: 0.6305 MB / 0.7928 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.692, allocations: 1.873 MB / 0.7946 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003428/0.6923, allocations: 176.8 kB / 0.7948 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009682/0.6933, allocations: 0.5807 MB / 0.7953 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008244/0.6941, allocations: 0.6834 MB / 0.796 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.6943, allocations: 76.03 kB / 0.7961 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007788/0.695, allocations: 402.1 kB / 0.7965 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.6955, allocations: 460.9 kB / 0.7969 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005635/0.6961, allocations: 0.6018 MB / 0.7975 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.6977, allocations: 1.453 MB / 0.7989 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6977, allocations: 0.6562 kB / 0.7989 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6977, allocations: 0 / 0.7989 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.6978, allocations: 2.562 kB / 0.7989 GB, free: 44.3 MB / 0.6544 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.003075/0.7008, allocations: 1.613 MB / 0.8005 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.7009, allocations: 8.469 kB / 0.8005 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.7011, allocations: 136.6 kB / 0.8006 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.7024, allocations: 0.8159 MB / 0.8014 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.7025, allocations: 47.53 kB / 0.8015 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.7026, allocations: 61.62 kB / 0.8015 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009909/0.7036, allocations: 0.6157 MB / 0.8021 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.7036, allocations: 0 / 0.8021 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.7037, allocations: 15.84 kB / 0.8021 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.7037, allocations: 10.78 kB / 0.8021 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008984/0.7046, allocations: 0.5636 MB / 0.8027 GB, free: 42.24 MB / 0.6544 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.006088/0.7107, allocations: 3.284 MB / 0.8059 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.7126, allocations: 0.8519 MB / 0.8067 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.7131, allocations: 367.1 kB / 0.8071 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-05/0.7133, allocations: 24.81 kB / 0.8071 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.7133, allocations: 45.72 kB / 0.8072 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 3.677e-06/0.7133, allocations: 1.688 kB / 0.8072 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002259/0.7156, allocations: 1.178 MB / 0.8083 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.7156, allocations: 57.03 kB / 0.8084 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.7175, allocations: 1.23 MB / 0.8096 GB, free: 38.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/0.7176, allocations: 44.44 kB / 0.8096 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.718, allocations: 464.3 kB / 0.81 GB, free: 38.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.7182, allocations: 171 kB / 0.8102 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.7185, allocations: 215.8 kB / 0.8104 GB, free: 38.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7187, allocations: 348.8 kB / 0.8108 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009224/0.7196, allocations: 0.6407 MB / 0.8114 GB, free: 37.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.7206, allocations: 0.9743 MB / 0.8123 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.7225, allocations: 1.584 MB / 0.8139 GB, free: 36.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.7225, allocations: 7 kB / 0.8139 GB, free: 36.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003053/0.7255, allocations: 1.781 MB / 0.8156 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.7256, allocations: 11.81 kB / 0.8156 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.163e-05/0.7256, allocations: 12.86 kB / 0.8156 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002754/0.7259, allocations: 47.39 kB / 0.8157 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.7272, allocations: 266.3 kB / 0.8159 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.7304, allocations: 6.837 MB / 0.8226 GB, free: 29.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.7319, allocations: 126.6 kB / 0.8227 GB, free: 28.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.732, allocations: 41.7 kB / 0.8228 GB, free: 28.96 MB / 0.6544 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.0005095/0.7325, allocations: 306.2 kB / 0.8231 GB, free: 28.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.7327, allocations: 111.4 kB / 0.8232 GB, free: 28.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.7341, allocations: 0.8412 MB / 0.824 GB, free: 28.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.7341, allocations: 5.125 kB / 0.824 GB, free: 28.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7341, allocations: 5.312 kB / 0.824 GB, free: 28.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.7341, allocations: 5.828 kB / 0.824 GB, free: 28.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.7355, allocations: 0.9136 MB / 0.8249 GB, free: 28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7355, allocations: 6.016 kB / 0.8249 GB, free: 28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.736, allocations: 111.7 kB / 0.825 GB, free: 27.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.7362, allocations: 31.14 kB / 0.8251 GB, free: 27.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.7362, allocations: 21.95 kB / 0.8251 GB, free: 27.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008354/0.7371, allocations: 1.438 MB / 0.8265 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.7371, allocations: 1.609 kB / 0.8265 GB, free: 26.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.739, allocations: 1.353 MB / 0.8278 GB, free: 26.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.7395, allocations: 263.1 kB / 0.828 GB, free: 25.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.7396, allocations: 20.66 kB / 0.8281 GB, free: 25.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.7403, allocations: 29.11 kB / 0.8281 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7404, allocations: 33.83 kB / 0.8281 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.7404, allocations: 13.31 kB / 0.8281 GB, free: 25.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001357/0.7418, allocations: 0.8149 MB / 0.8289 GB, free: 25.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7418, allocations: 0 / 0.8289 GB, free: 25.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001458/0.7433, allocations: 371.6 kB / 0.8293 GB, free: 25.46 MB / 0.6544 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.0006084/0.7439, allocations: 275.1 kB / 0.8296 GB, free: 25.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003015/0.7469, allocations: 1.602 MB / 0.8311 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7469, allocations: 0.6875 kB / 0.8311 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.7475, allocations: 482.2 kB / 0.8316 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.7489, allocations: 222.3 kB / 0.8318 GB, free: 24.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.753, allocations: 2.614 MB / 0.8343 GB, free: 23.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/0.7538, allocations: 1.097 MB / 0.8354 GB, free: 22.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.7542, allocations: 65.53 kB / 0.8355 GB, free: 22.32 MB / 0.6544 GB Notification: Performance of SimCode: time 1.322e-06/0.7542, allocations: 3.562 kB / 0.8355 GB, free: 22.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.04106/0.7953, allocations: 30.71 MB / 0.8655 GB, free: 6.461 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)