Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001434/0.001434, 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.001425/0.001425, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.424/2.424, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 61.83 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003595/0.2294, allocations: 2.744 MB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003453/0.2328, allocations: 2.792 MB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.2331, allocations: 7.938 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.2343, allocations: 0.4941 MB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.2348, allocations: 254.9 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.2356, allocations: 399 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2371, allocations: 1.524 MB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2373, allocations: 126.3 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005946/0.2379, allocations: 474.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.2384, allocations: 414.6 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.2385, allocations: 48 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2387, allocations: 59.94 kB / 1.062 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.2389, allocations: 271.3 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.2393, allocations: 366.2 kB / 1.063 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006695/0.24, allocations: 0.8918 MB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.24, allocations: 0 / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.24, allocations: 4 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.24, allocations: 4 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001822/0.2418, allocations: 1.144 MB / 1.065 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2419, allocations: 12.62 kB / 1.065 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.2419, allocations: 66.66 kB / 1.065 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2421, allocations: 80 kB / 1.065 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.2429, allocations: 0.6486 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.2429, allocations: 28.94 kB / 1.065 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.243, allocations: 36.38 kB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.2435, allocations: 378.6 kB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2435, allocations: 7.984 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.2435, allocations: 8 kB / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2435, allocations: 8 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.2439, allocations: 237.5 kB / 1.066 GB, free: 10.63 MB / 0.8262 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.003151/0.2471, allocations: 2.455 MB / 1.068 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000904/0.248, allocations: 406.3 kB / 1.069 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.2482, allocations: 136.8 kB / 1.069 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2482, allocations: 0 / 1.069 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2482, allocations: 34.88 kB / 1.069 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.2482, allocations: 0 / 1.069 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.000845/0.2491, allocations: 0.5312 MB / 1.069 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.2491, allocations: 59.41 kB / 1.07 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.2501, allocations: 0.9337 MB / 1.07 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.2502, allocations: 33.7 kB / 1.07 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.2504, allocations: 304.4 kB / 1.071 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.586e-05/0.2505, allocations: 74.94 kB / 1.071 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.2506, allocations: 118.2 kB / 1.071 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2508, allocations: 382.7 kB / 1.071 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.2511, allocations: 244.9 kB / 1.072 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.2516, allocations: 0.5052 MB / 1.072 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.2523, allocations: 0.6935 MB / 1.073 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.2523, allocations: 4 kB / 1.073 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001091/0.2534, allocations: 0.8135 MB / 1.074 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2535, allocations: 12 kB / 1.074 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2535, allocations: 8 kB / 1.074 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.2537, allocations: 57.28 kB / 1.074 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.2541, allocations: 139.7 kB / 1.074 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.2551, allocations: 1.543 MB / 1.075 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.2558, allocations: 123.2 kB / 1.075 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.2558, allocations: 28 kB / 1.075 GB, free: 348 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0002973/0.2561, allocations: 341.5 kB / 1.076 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.2562, allocations: 67.28 kB / 1.076 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.2563, allocations: 66 kB / 1.076 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2563, allocations: 4 kB / 1.076 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2563, allocations: 0 / 1.076 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2563, allocations: 3.984 kB / 1.076 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.2569, allocations: 0.5751 MB / 1.076 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.2569, allocations: 7.922 kB / 1.076 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.2572, allocations: 47.97 kB / 1.076 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.2573, allocations: 44.75 kB / 1.077 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2573, allocations: 8 kB / 1.077 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009785/0.2583, allocations: 1.519 MB / 1.078 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2583, allocations: 3.938 kB / 1.078 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.259, allocations: 0.5677 MB / 1.079 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.2592, allocations: 200.2 kB / 1.079 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.2593, allocations: 11.98 kB / 1.079 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.2596, allocations: 43.86 kB / 1.079 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.2597, allocations: 23.91 kB / 1.079 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2597, allocations: 8.062 kB / 1.079 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007529/0.2605, allocations: 0.659 MB / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.453e-06/0.2605, allocations: 0 / 1.079 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005454/0.261, allocations: 187.8 kB / 1.08 GB, free: 11.73 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0009001/0.2619, allocations: 1.118 MB / 1.081 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007959/0.2627, allocations: 0.6 MB / 1.081 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2628, allocations: 320 / 1.081 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.2631, allocations: 250.5 kB / 1.082 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.2638, allocations: 176.4 kB / 1.082 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007769/0.2716, allocations: 7.034 MB / 1.089 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005476/0.2721, allocations: 1.006 MB / 1.09 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.2725, allocations: 180.5 kB / 1.09 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.2728, allocations: 203.4 kB / 1.09 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2728, allocations: 0 / 1.09 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.039/2.312, allocations: 14.03 MB / 1.104 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/18.61, allocations: 3.625 kB / 1.104 GB, free: 2.961 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)