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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009565/0.0009565, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005483/0.005484, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 12 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5366/0.5369, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002823/0.5398, allocations: 2.422 MB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003556/0.5434, allocations: 2.757 MB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.5436, allocations: 7.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.5448, allocations: 458.4 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.5453, allocations: 243 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.5461, allocations: 333.5 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.5479, allocations: 1.711 MB / 1.031 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.5481, allocations: 121.7 kB / 1.031 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.5487, allocations: 410.7 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.5492, allocations: 390.6 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.5493, allocations: 20 kB / 1.032 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.5494, allocations: 28 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.5496, allocations: 235.2 kB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.55, allocations: 355.9 kB / 1.032 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006673/0.5506, allocations: 0.8603 MB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5507, allocations: 0 / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5507, allocations: 0 / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.5507, allocations: 0 / 1.033 GB, free: 5.48 MB / 0.7794 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.001794/0.5525, allocations: 1.039 MB / 1.034 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5525, allocations: 8.031 kB / 1.034 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.915e-05/0.5526, allocations: 58.67 kB / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.5527, allocations: 80 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.5536, allocations: 0.6525 MB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.5537, allocations: 28.94 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.5537, allocations: 36.38 kB / 1.035 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.5543, allocations: 382.6 kB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5543, allocations: 0 / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.5543, allocations: 12 kB / 1.035 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5543, allocations: 4 kB / 1.035 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.5547, allocations: 245.5 kB / 1.036 GB, free: 2.832 MB / 0.7794 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.00327/0.558, allocations: 2.466 MB / 1.038 GB, free: 180 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.5589, allocations: 406.5 kB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.5591, allocations: 148.7 kB / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.5592, allocations: 0 / 1.039 GB, free: 15.62 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5592, allocations: 38.56 kB / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.5592, allocations: 0 / 1.039 GB, free: 15.57 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.000888/0.5601, allocations: 0.5393 MB / 1.039 GB, free: 15 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.5601, allocations: 55.39 kB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.5612, allocations: 0.9415 MB / 1.04 GB, free: 13.99 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.5613, allocations: 37.7 kB / 1.04 GB, free: 13.95 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.5615, allocations: 300.3 kB / 1.04 GB, free: 13.65 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.5616, allocations: 63.11 kB / 1.04 GB, free: 13.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.5617, allocations: 69.67 kB / 1.041 GB, free: 13.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5618, allocations: 386.7 kB / 1.041 GB, free: 13.13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.5622, allocations: 236.9 kB / 1.041 GB, free: 12.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.5627, allocations: 0.5091 MB / 1.042 GB, free: 12.26 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.5635, allocations: 0.709 MB / 1.042 GB, free: 11.42 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.5635, allocations: 4 kB / 1.042 GB, free: 11.42 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00116/0.5647, allocations: 0.8095 MB / 1.043 GB, free: 10.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5647, allocations: 19.92 kB / 1.043 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5647, allocations: 12 kB / 1.043 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/0.5649, allocations: 53.45 kB / 1.043 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.5653, allocations: 143.7 kB / 1.043 GB, free: 10.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.5664, allocations: 1.436 MB / 1.045 GB, free: 8.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.5671, allocations: 131.1 kB / 1.045 GB, free: 8.676 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.5671, allocations: 28 kB / 1.045 GB, free: 8.648 MB / 0.795 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.0003224/0.5675, allocations: 342.8 kB / 1.045 GB, free: 8.305 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.5676, allocations: 59.25 kB / 1.045 GB, free: 8.246 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.5677, allocations: 73.94 kB / 1.045 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5677, allocations: 0 / 1.045 GB, free: 8.168 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5677, allocations: 4 kB / 1.045 GB, free: 8.164 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5677, allocations: 0 / 1.045 GB, free: 8.164 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.5683, allocations: 0.5791 MB / 1.046 GB, free: 7.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5683, allocations: 0 / 1.046 GB, free: 7.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/0.5686, allocations: 47.95 kB / 1.046 GB, free: 7.488 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.5687, allocations: 48.77 kB / 1.046 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.5687, allocations: 15.92 kB / 1.046 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009924/0.5697, allocations: 1.409 MB / 1.047 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5698, allocations: 4 kB / 1.047 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000719/0.5705, allocations: 0.5762 MB / 1.048 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.5707, allocations: 208.2 kB / 1.048 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.5708, allocations: 4 kB / 1.048 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.5712, allocations: 51.91 kB / 1.048 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.5713, allocations: 11.98 kB / 1.048 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5713, allocations: 11.94 kB / 1.048 GB, free: 4.98 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007858/0.5721, allocations: 0.659 MB / 1.049 GB, free: 4.328 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5721, allocations: 0 / 1.049 GB, free: 4.328 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005808/0.5727, allocations: 187.8 kB / 1.049 GB, free: 4.145 MB / 0.795 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.0009838/0.5737, allocations: 1.123 MB / 1.05 GB, free: 2.988 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008136/0.5745, allocations: 0.5695 MB / 1.051 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5745, allocations: 0 / 1.051 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.5748, allocations: 249.2 kB / 1.051 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.5757, allocations: 172.3 kB / 1.051 GB, free: 1.984 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009482/0.5852, allocations: 7.307 MB / 1.058 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.5857, allocations: 1.006 MB / 1.059 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004042/0.5861, allocations: 184.5 kB / 1.059 GB, free: 9.125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.5864, allocations: 203.4 kB / 1.06 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.5864, allocations: 0 / 1.06 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/1.683, allocations: 13.4 MB / 1.073 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/1.683, allocations: 221.5 kB / 1.073 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/4.42, allocations: 2.75 kB / 1.073 GB, free: 11.55 MB / 0.8262 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=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)