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.001387/0.001387, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00166/0.00166, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.416/1.416, allocations: 205.1 MB / 222.1 MB, free: 4.652 MB / 174.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.775/1.775, allocations: 292.3 MB / 0.5485 GB, free: 13.6 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.001498/0.001498, allocations: 63.94 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2838, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005689/0.2895, allocations: 4.358 MB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004757/0.2943, allocations: 2.985 MB / 0.79 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005078/0.2948, allocations: 19.88 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000962/0.2959, allocations: 318.3 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.297, allocations: 0.5951 MB / 0.7909 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2983, allocations: 0.5732 MB / 0.7915 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.3, allocations: 1.878 MB / 0.7933 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.3003, allocations: 177.9 kB / 0.7935 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006642/0.301, allocations: 0.5878 MB / 0.7941 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007662/0.3017, allocations: 0.7123 MB / 0.7947 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3019, allocations: 80 kB / 0.7948 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005832/0.3025, allocations: 415.4 kB / 0.7952 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.3029, allocations: 446.7 kB / 0.7956 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.3034, allocations: 0.61 MB / 0.7962 GB, free: 132 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3047, allocations: 1.464 MB / 0.7977 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3047, allocations: 0 / 0.7977 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3048, allocations: 0 / 0.7977 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.3048, allocations: 0 / 0.7977 GB, free: 14.66 MB / 0.6231 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.00286/0.3076, allocations: 1.624 MB / 0.7993 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3077, allocations: 8.031 kB / 0.7993 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3079, allocations: 131.3 kB / 0.7994 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.309, allocations: 0.8153 MB / 0.8002 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.3091, allocations: 49.31 kB / 0.8002 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.3092, allocations: 60.38 kB / 0.8003 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.31, allocations: 0.6217 MB / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.31, allocations: 0 / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.3101, allocations: 16 kB / 0.8009 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.3101, allocations: 8 kB / 0.8009 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.3108, allocations: 0.5621 MB / 0.8015 GB, free: 10.64 MB / 0.6231 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.00404/0.3148, allocations: 3.278 MB / 0.8047 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.3161, allocations: 0.8362 MB / 0.8055 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.3165, allocations: 377.1 kB / 0.8058 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.3166, allocations: 32.19 kB / 0.8059 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.3167, allocations: 34.94 kB / 0.8059 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.813e-06/0.3167, allocations: 0 / 0.8059 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001577/0.3182, allocations: 1.178 MB / 0.8071 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3183, allocations: 63.39 kB / 0.8071 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.3197, allocations: 1.22 MB / 0.8083 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.3197, allocations: 41.7 kB / 0.8084 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.32, allocations: 472.6 kB / 0.8088 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.3202, allocations: 165.6 kB / 0.809 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.3204, allocations: 214.5 kB / 0.8092 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3205, allocations: 345.9 kB / 0.8095 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.3212, allocations: 0.6504 MB / 0.8101 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.3221, allocations: 0.9669 MB / 0.8111 GB, free: 324 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.3236, allocations: 1.59 MB / 0.8126 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3236, allocations: 0 / 0.8126 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001985/0.3256, allocations: 1.787 MB / 0.8144 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.3257, allocations: 8 kB / 0.8144 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.3257, allocations: 12 kB / 0.8144 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.3259, allocations: 53.17 kB / 0.8144 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.3269, allocations: 263.7 kB / 0.8147 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/0.3304, allocations: 6.843 MB / 0.8214 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.3313, allocations: 127 kB / 0.8215 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.3314, allocations: 43.94 kB / 0.8215 GB, free: 5.117 MB / 0.6387 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.0003784/0.3317, allocations: 308.9 kB / 0.8218 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3319, allocations: 114.4 kB / 0.8219 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.333, allocations: 0.8425 MB / 0.8228 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.333, allocations: 4 kB / 0.8228 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.333, allocations: 4 kB / 0.8228 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.333, allocations: 0 / 0.8228 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.3339, allocations: 0.9189 MB / 0.8237 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3339, allocations: 0 / 0.8237 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.3344, allocations: 115.8 kB / 0.8238 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.3345, allocations: 36.83 kB / 0.8238 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.3346, allocations: 12 kB / 0.8238 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/0.3355, allocations: 1.441 MB / 0.8252 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3355, allocations: 0 / 0.8252 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.337, allocations: 1.358 MB / 0.8266 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3373, allocations: 263.5 kB / 0.8268 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.3374, allocations: 23.92 kB / 0.8268 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/0.3379, allocations: 27.97 kB / 0.8269 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.338, allocations: 31.89 kB / 0.8269 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.3381, allocations: 16 kB / 0.8269 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009633/0.339, allocations: 0.8193 MB / 0.8277 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.339, allocations: 4 kB / 0.8277 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008887/0.3399, allocations: 363.7 kB / 0.8281 GB, free: 14.18 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.0004844/0.3404, allocations: 274.9 kB / 0.8283 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.3427, allocations: 1.608 MB / 0.8299 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3428, allocations: 0 / 0.8299 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.3433, allocations: 475.9 kB / 0.8303 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3444, allocations: 229 kB / 0.8306 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.3477, allocations: 2.864 MB / 0.8334 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.3483, allocations: 1.102 MB / 0.8344 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004867/0.3488, allocations: 203.1 kB / 0.8346 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.3489, allocations: 71.42 kB / 0.8347 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.349, allocations: 0 / 0.8347 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of Templates: time 0.02236/0.3713, allocations: 14.47 MB / 0.8488 GB, free: 8.977 MB / 0.67 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)