Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.ConductorMultiLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.00454/0.00454, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001333/0.001333, allocations: 195.1 kB / 16.68 MB, free: 5.969 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.348/2.348, allocations: 437.1 MB / 0.7106 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 68.06 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2366, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003438/0.2401, allocations: 2.732 MB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003425/0.2435, allocations: 2.781 MB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.2437, allocations: 7.938 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.245, allocations: 0.4902 MB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.2454, allocations: 258.9 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008418/0.2463, allocations: 402.5 kB / 1.173 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.2478, allocations: 1.524 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.248, allocations: 138.3 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000528/0.2486, allocations: 470.8 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.2491, allocations: 382.6 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.035e-05/0.2492, allocations: 48 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.2493, allocations: 52 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.2496, allocations: 283.2 kB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.2499, allocations: 374.2 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008007/0.2508, allocations: 0.9068 MB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2508, allocations: 0 / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.925e-06/0.2508, allocations: 4 kB / 1.177 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.2508, allocations: 7.938 kB / 1.177 GB, free: 12.38 MB / 0.9356 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.001823/0.2526, allocations: 1.167 MB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2527, allocations: 12.03 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.152e-05/0.2527, allocations: 62.72 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.2528, allocations: 84.42 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008986/0.2537, allocations: 0.6765 MB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.2538, allocations: 24.94 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.2538, allocations: 40.38 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.2544, allocations: 378.6 kB / 1.179 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2544, allocations: 0 / 1.179 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.2544, allocations: 12 kB / 1.179 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2544, allocations: 4 kB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.2548, allocations: 245.4 kB / 1.179 GB, free: 9.57 MB / 0.9356 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.00319/0.258, allocations: 2.455 MB / 1.182 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/0.2589, allocations: 402.3 kB / 1.182 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.2591, allocations: 140.8 kB / 1.182 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2591, allocations: 0 / 1.182 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2592, allocations: 42.5 kB / 1.182 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.2592, allocations: 4 kB / 1.182 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008826/0.2601, allocations: 0.5326 MB / 1.183 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.2601, allocations: 59.41 kB / 1.183 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.2612, allocations: 0.9337 MB / 1.184 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.2612, allocations: 33.7 kB / 1.184 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.2615, allocations: 308.7 kB / 1.184 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.2615, allocations: 67.44 kB / 1.184 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.2617, allocations: 126.2 kB / 1.184 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2619, allocations: 382.7 kB / 1.185 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.2622, allocations: 244.9 kB / 1.185 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.2627, allocations: 0.4973 MB / 1.185 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.2635, allocations: 0.7048 MB / 1.186 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.2635, allocations: 4 kB / 1.186 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001099/0.2646, allocations: 0.8166 MB / 1.187 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2646, allocations: 8 kB / 1.187 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2646, allocations: 12 kB / 1.187 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.2648, allocations: 45.2 kB / 1.187 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.2652, allocations: 147.7 kB / 1.187 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.2664, allocations: 1.546 MB / 1.189 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.267, allocations: 127.4 kB / 1.189 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.267, allocations: 28 kB / 1.189 GB, free: 15.26 MB / 0.9512 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.0003127/0.2673, allocations: 341.4 kB / 1.189 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.2674, allocations: 75.45 kB / 1.189 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.2676, allocations: 70 kB / 1.189 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2676, allocations: 4.062 kB / 1.189 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2676, allocations: 0 / 1.189 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2676, allocations: 4 kB / 1.189 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.2682, allocations: 0.5714 MB / 1.19 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2682, allocations: 3.938 kB / 1.19 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.2684, allocations: 47.89 kB / 1.19 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.2685, allocations: 44.83 kB / 1.19 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.2686, allocations: 15.98 kB / 1.19 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.2696, allocations: 1.523 MB / 1.191 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2697, allocations: 0 / 1.191 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.2704, allocations: 0.5679 MB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.2706, allocations: 204.7 kB / 1.192 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.2707, allocations: 4 kB / 1.192 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.271, allocations: 51.92 kB / 1.192 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2711, allocations: 15.91 kB / 1.192 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2711, allocations: 8 kB / 1.192 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007803/0.2719, allocations: 0.6629 MB / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2719, allocations: 0 / 1.193 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005363/0.2724, allocations: 179.9 kB / 1.193 GB, free: 10.64 MB / 0.9512 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.0009934/0.2734, allocations: 1.119 MB / 1.194 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008005/0.2742, allocations: 0.5705 MB / 1.195 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2743, allocations: 4 kB / 1.195 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.2746, allocations: 236.6 kB / 1.195 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.2753, allocations: 182.9 kB / 1.195 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007865/0.2832, allocations: 6.935 MB / 1.202 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.2839, allocations: 1.014 MB / 1.203 GB, free: 176 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003449/0.2842, allocations: 176.5 kB / 1.203 GB, free: 0 / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.2845, allocations: 207.4 kB / 1.203 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.2845, allocations: 0 / 1.203 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.007/3.291, allocations: 14.21 MB / 1.217 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.7/22.99, allocations: 5.25 kB / 1.217 GB, free: 1.828 MB / 0.9669 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)