Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.001316/0.001316, 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.00144/0.00144, allocations: 195.5 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.249/1.249, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4942, allocations: 140.4 MB / 0.9497 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003079/0.4973, allocations: 2.738 MB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.5002, allocations: 2.788 MB / 0.9551 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.5004, allocations: 7.781 kB / 0.9551 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5015, allocations: 498.5 kB / 0.9556 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.5019, allocations: 253.6 kB / 0.9558 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.5026, allocations: 391.8 kB / 0.9562 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.5037, allocations: 1.536 MB / 0.9577 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.5039, allocations: 142.1 kB / 0.9578 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004562/0.5044, allocations: 467.2 kB / 0.9583 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.5048, allocations: 413.2 kB / 0.9587 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.549e-05/0.5049, allocations: 48.56 kB / 0.9587 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.505, allocations: 53.44 kB / 0.9588 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.5052, allocations: 266.2 kB / 0.959 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.5055, allocations: 368.3 kB / 0.9594 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.5061, allocations: 0.9063 MB / 0.9603 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5061, allocations: 0 / 0.9603 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5061, allocations: 0.75 kB / 0.9603 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.5061, allocations: 3.938 kB / 0.9603 GB, free: 1.648 MB / 0.7169 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.001605/0.5078, allocations: 1.143 MB / 0.9614 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.5078, allocations: 10.22 kB / 0.9614 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.5079, allocations: 64.09 kB / 0.9614 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.508, allocations: 78.06 kB / 0.9615 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.5087, allocations: 0.646 MB / 0.9622 GB, free: 196 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.5087, allocations: 31.69 kB / 0.9622 GB, free: 180 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.5088, allocations: 37.78 kB / 0.9622 GB, free: 168 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.5093, allocations: 380.5 kB / 0.9626 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5093, allocations: 0 / 0.9626 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.5093, allocations: 6.625 kB / 0.9626 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.5094, allocations: 6.406 kB / 0.9626 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.5097, allocations: 238.4 kB / 0.9628 GB, free: 15.79 MB / 0.7325 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.003175/0.5129, allocations: 2.457 MB / 0.9652 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009357/0.5139, allocations: 399.7 kB / 0.9656 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.5141, allocations: 137.3 kB / 0.9657 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.5141, allocations: 2.156 kB / 0.9657 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.5141, allocations: 35.59 kB / 0.9658 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.5141, allocations: 4 kB / 0.9658 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008994/0.515, allocations: 0.526 MB / 0.9663 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.5151, allocations: 57.59 kB / 0.9663 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.5161, allocations: 0.9379 MB / 0.9673 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.5161, allocations: 36.61 kB / 0.9673 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.5164, allocations: 307.8 kB / 0.9676 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.5164, allocations: 77.14 kB / 0.9677 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.5166, allocations: 126.3 kB / 0.9678 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5167, allocations: 379.5 kB / 0.9681 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.5171, allocations: 236.9 kB / 0.9684 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.5175, allocations: 0.4998 MB / 0.9689 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.5183, allocations: 0.7009 MB / 0.9695 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.5183, allocations: 3.156 kB / 0.9695 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00112/0.5194, allocations: 0.8089 MB / 0.9703 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5194, allocations: 17.48 kB / 0.9703 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5194, allocations: 13.38 kB / 0.9704 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.5196, allocations: 52.27 kB / 0.9704 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.5201, allocations: 142.4 kB / 0.9705 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.5211, allocations: 1.535 MB / 0.972 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.5217, allocations: 129.4 kB / 0.9722 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.5218, allocations: 27.59 kB / 0.9722 GB, free: 8.395 MB / 0.7325 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.0002978/0.5221, allocations: 341.3 kB / 0.9725 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.5222, allocations: 66 kB / 0.9726 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.5223, allocations: 67.66 kB / 0.9726 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5223, allocations: 0.8438 kB / 0.9727 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5223, allocations: 1.281 kB / 0.9727 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5223, allocations: 0 / 0.9727 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.5229, allocations: 0.5798 MB / 0.9732 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5229, allocations: 3.938 kB / 0.9732 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.5232, allocations: 50.52 kB / 0.9733 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.5233, allocations: 43.78 kB / 0.9733 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.5233, allocations: 7.984 kB / 0.9733 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009217/0.5243, allocations: 1.525 MB / 0.9748 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5243, allocations: 1.219 kB / 0.9748 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.525, allocations: 0.5671 MB / 0.9754 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.5252, allocations: 199.6 kB / 0.9756 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.5253, allocations: 8.281 kB / 0.9756 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.5257, allocations: 49.95 kB / 0.9756 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.5257, allocations: 13.73 kB / 0.9756 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.5257, allocations: 7.625 kB / 0.9756 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007531/0.5265, allocations: 0.6629 MB / 0.9763 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5265, allocations: 1.406 kB / 0.9763 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000589/0.5271, allocations: 182.6 kB / 0.9765 GB, free: 5.059 MB / 0.7325 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.0009096/0.528, allocations: 1.127 MB / 0.9776 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008173/0.5288, allocations: 0.5994 MB / 0.9781 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5288, allocations: 3.938 kB / 0.9781 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.5291, allocations: 248.2 kB / 0.9784 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/0.5299, allocations: 167 kB / 0.9785 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.5372, allocations: 7.039 MB / 0.9854 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5377, allocations: 1.014 MB / 0.9864 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003612/0.5381, allocations: 176.5 kB / 0.9866 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.5383, allocations: 207.3 kB / 0.9868 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.5384, allocations: 4 kB / 0.9868 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/0.6587, allocations: 14.02 MB / 1 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.85/10.51, allocations: 12 kB / 1 GB, free: 12.57 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)