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: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 193 kB / 16.53 MB, free: 6.391 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.198/1.198, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.531/1.531, allocations: 292.3 MB / 0.5489 GB, free: 12.89 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.001356/0.001356, allocations: 67.48 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1979, allocations: 114.5 MB / 0.7835 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005342/0.2033, allocations: 4.357 MB / 0.7877 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004492/0.2078, allocations: 2.974 MB / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.2083, allocations: 19.88 kB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009627/0.2093, allocations: 365.7 kB / 0.791 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.2107, allocations: 0.6528 MB / 0.7916 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.2121, allocations: 0.6275 MB / 0.7922 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001947/0.2141, allocations: 1.874 MB / 0.7941 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.2144, allocations: 173.9 kB / 0.7942 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009207/0.2153, allocations: 0.584 MB / 0.7948 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.2163, allocations: 0.6734 MB / 0.7955 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001924/0.2165, allocations: 76 kB / 0.7955 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007762/0.2173, allocations: 407.4 kB / 0.7959 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004529/0.2178, allocations: 454.6 kB / 0.7963 GB, free: 184 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006141/0.2184, allocations: 0.6062 MB / 0.7969 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2198, allocations: 1.452 MB / 0.7984 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2198, allocations: 0 / 0.7984 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2198, allocations: 0 / 0.7984 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.2199, allocations: 4 kB / 0.7984 GB, free: 14.1 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.002753/0.2226, allocations: 1.612 MB / 0.7999 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2227, allocations: 12.03 kB / 0.7999 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.642e-05/0.2228, allocations: 82.66 kB / 0.8 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.223, allocations: 135.3 kB / 0.8002 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.2241, allocations: 0.8114 MB / 0.8009 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.2241, allocations: 53.31 kB / 0.801 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.2242, allocations: 60.38 kB / 0.8011 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.2251, allocations: 0.6137 MB / 0.8017 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2251, allocations: 0 / 0.8017 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.2251, allocations: 20 kB / 0.8017 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2251, allocations: 12 kB / 0.8017 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.2259, allocations: 0.5582 MB / 0.8022 GB, free: 10 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.004201/0.2301, allocations: 3.29 MB / 0.8054 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.2314, allocations: 0.8517 MB / 0.8063 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.2318, allocations: 369.1 kB / 0.8066 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.2319, allocations: 24.36 kB / 0.8067 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2319, allocations: 38.92 kB / 0.8067 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.2319, allocations: 0 / 0.8067 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001761/0.2337, allocations: 1.174 MB / 0.8078 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2338, allocations: 55.41 kB / 0.8079 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.2353, allocations: 1.227 MB / 0.8091 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.2353, allocations: 41.7 kB / 0.8091 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.2357, allocations: 468.7 kB / 0.8096 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2358, allocations: 173.6 kB / 0.8097 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.2361, allocations: 214.4 kB / 0.8099 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2362, allocations: 353.9 kB / 0.8103 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.2369, allocations: 0.6426 MB / 0.8109 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/0.2379, allocations: 0.9708 MB / 0.8119 GB, free: 15.66 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.2395, allocations: 1.582 MB / 0.8134 GB, free: 13.94 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2396, allocations: 4 kB / 0.8134 GB, free: 13.94 MB / 0.6388 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002106/0.2417, allocations: 1.791 MB / 0.8152 GB, free: 12.13 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2417, allocations: 8 kB / 0.8152 GB, free: 12.12 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.2417, allocations: 12 kB / 0.8152 GB, free: 12.11 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.2419, allocations: 40.84 kB / 0.8152 GB, free: 12.07 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2431, allocations: 267.6 kB / 0.8155 GB, free: 11.81 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.2469, allocations: 6.84 MB / 0.8221 GB, free: 4.641 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.2478, allocations: 118.7 kB / 0.8223 GB, free: 4.523 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/0.2478, allocations: 47.94 kB / 0.8223 GB, free: 4.477 MB / 0.6388 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.0003584/0.2482, allocations: 308.7 kB / 0.8226 GB, free: 4.168 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.2483, allocations: 118.4 kB / 0.8227 GB, free: 4.051 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.2494, allocations: 0.8425 MB / 0.8235 GB, free: 3.199 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2495, allocations: 4 kB / 0.8235 GB, free: 3.195 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2495, allocations: 0 / 0.8235 GB, free: 3.195 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2495, allocations: 3.984 kB / 0.8235 GB, free: 3.191 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009077/0.2504, allocations: 0.9189 MB / 0.8244 GB, free: 2.227 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2504, allocations: 0 / 0.8244 GB, free: 2.227 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/0.2509, allocations: 107.9 kB / 0.8245 GB, free: 2.121 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001047/0.251, allocations: 36.83 kB / 0.8246 GB, free: 2.082 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.2511, allocations: 15.98 kB / 0.8246 GB, free: 2.066 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009512/0.252, allocations: 1.445 MB / 0.826 GB, free: 488 kB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.252, allocations: 3.984 kB / 0.826 GB, free: 484 kB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2535, allocations: 1.366 MB / 0.8273 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.2538, allocations: 263.4 kB / 0.8276 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.254, allocations: 16 kB / 0.8276 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.2545, allocations: 28.02 kB / 0.8276 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.2546, allocations: 27.97 kB / 0.8277 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.2546, allocations: 15.98 kB / 0.8277 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009902/0.2556, allocations: 0.8194 MB / 0.8285 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3e-07/0.2556, allocations: 0 / 0.8285 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008775/0.2565, allocations: 367.7 kB / 0.8288 GB, free: 13.54 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.002177/0.2587, allocations: 2.102 MB / 0.8309 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00235/0.261, allocations: 1.604 MB / 0.8324 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2611, allocations: 0 / 0.8324 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.2616, allocations: 482.3 kB / 0.8329 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009538/0.2626, allocations: 223.8 kB / 0.8331 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.2759, allocations: 12.02 MB / 0.8449 GB, free: 12.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.2766, allocations: 1.098 MB / 0.8459 GB, free: 11.39 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005136/0.2772, allocations: 203.1 kB / 0.8461 GB, free: 11.19 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.2776, allocations: 403.3 kB / 0.8465 GB, free: 10.79 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.2776, allocations: 0 / 0.8465 GB, free: 10.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/1.636, allocations: 23.86 MB / 0.8698 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.61, allocations: 19.75 kB / 0.8698 GB, free: 3.215 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)