Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_11_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.002162/0.002169, allocations: 108 kB / 15.61 MB, free: 152 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.002123/0.002123, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.477/2.477, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 70.25 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2312, allocations: 159.1 MB / 1.064 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003562/0.2348, allocations: 2.749 MB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.2382, allocations: 2.776 MB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2383, allocations: 11.94 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.2395, allocations: 0.4941 MB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.2399, allocations: 254.8 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.2406, allocations: 393.2 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.242, allocations: 1.524 MB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.2422, allocations: 142.2 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.2427, allocations: 466.9 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.2432, allocations: 414.5 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.2433, allocations: 48 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2434, allocations: 56 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.2437, allocations: 263.3 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.2441, allocations: 374.2 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.2448, allocations: 0.8996 MB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2448, allocations: 0 / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2448, allocations: 0 / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.2448, allocations: 0 / 1.075 GB, free: 3.402 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.001742/0.2465, allocations: 1.146 MB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.2466, allocations: 8.031 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.894e-05/0.2467, allocations: 66.73 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.2468, allocations: 79.98 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.2476, allocations: 0.6525 MB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2476, allocations: 28.94 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.2477, allocations: 40.38 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.2482, allocations: 382.6 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2482, allocations: 0 / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.2482, allocations: 12 kB / 1.077 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.2483, allocations: 4 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.2486, allocations: 237.5 kB / 1.077 GB, free: 0.6406 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.003141/0.2518, allocations: 2.451 MB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/0.2527, allocations: 406.3 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.2529, allocations: 136.8 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2529, allocations: 4 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.2529, allocations: 34.55 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.2529, allocations: 7.938 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008545/0.2538, allocations: 0.5317 MB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.2538, allocations: 51.41 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.2549, allocations: 0.9336 MB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.2549, allocations: 37.7 kB / 1.082 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.2552, allocations: 304.5 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.2552, allocations: 66.95 kB / 1.082 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.2554, allocations: 122.2 kB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2556, allocations: 386.7 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.2559, allocations: 240.9 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.2564, allocations: 0.4936 MB / 1.083 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/0.2572, allocations: 0.7009 MB / 1.084 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2572, allocations: 4 kB / 1.084 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001086/0.2583, allocations: 0.8176 MB / 1.085 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2583, allocations: 12.16 kB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2583, allocations: 11.98 kB / 1.085 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.2585, allocations: 52.83 kB / 1.085 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.2589, allocations: 139.8 kB / 1.085 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.2601, allocations: 1.542 MB / 1.086 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.2606, allocations: 127.3 kB / 1.087 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.2607, allocations: 32 kB / 1.087 GB, free: 6.344 MB / 0.8419 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.0003097/0.261, allocations: 337.4 kB / 1.087 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.33e-05/0.2611, allocations: 63.19 kB / 1.087 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-05/0.2612, allocations: 66 kB / 1.087 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2612, allocations: 4 kB / 1.087 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.2612, allocations: 0 / 1.087 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2612, allocations: 0 / 1.087 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.2618, allocations: 0.5791 MB / 1.088 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2618, allocations: 7.938 kB / 1.088 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.2621, allocations: 51.95 kB / 1.088 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.2622, allocations: 36.83 kB / 1.088 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2622, allocations: 11.98 kB / 1.088 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.2633, allocations: 1.527 MB / 1.089 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2633, allocations: 160 / 1.089 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.264, allocations: 0.5724 MB / 1.09 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.2642, allocations: 200.2 kB / 1.09 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.2643, allocations: 15.92 kB / 1.09 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.2646, allocations: 47.98 kB / 1.09 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.2647, allocations: 15.92 kB / 1.09 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2647, allocations: 12 kB / 1.09 GB, free: 2.566 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007554/0.2655, allocations: 0.6629 MB / 1.091 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2655, allocations: 0 / 1.091 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005256/0.266, allocations: 179.8 kB / 1.091 GB, free: 1.734 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.00096/0.267, allocations: 1.112 MB / 1.092 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008141/0.2678, allocations: 0.5968 MB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2678, allocations: 0 / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.2681, allocations: 253.5 kB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.2688, allocations: 171.1 kB / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/0.2765, allocations: 7.04 MB / 1.1 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.2771, allocations: 1.01 MB / 1.101 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.2775, allocations: 176.5 kB / 1.101 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.2778, allocations: 203.4 kB / 1.101 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.2778, allocations: 4 kB / 1.101 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.005/5.283, allocations: 14.04 MB / 1.115 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/21.37, allocations: 7.438 kB / 1.115 GB, free: 8.949 MB / 0.8731 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)