Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_10_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.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001737/0.001737, allocations: 193.1 kB / 16.14 MB, free: 6.734 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.415/2.415, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.89 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4638, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003564/0.4674, allocations: 2.792 MB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.4708, allocations: 2.792 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.471, allocations: 7.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.4722, allocations: 466.3 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.4727, allocations: 255 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007217/0.4734, allocations: 327.2 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.475, allocations: 1.719 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.4752, allocations: 125.7 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.4758, allocations: 398.8 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.4763, allocations: 410.5 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.69e-05/0.4764, allocations: 24 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.4765, allocations: 32 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.4767, allocations: 223.3 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.4771, allocations: 330.2 kB / 1.026 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006107/0.4777, allocations: 0.8839 MB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4777, allocations: 0 / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4777, allocations: 0 / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.4777, allocations: 0 / 1.027 GB, free: 7.984 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.00189/0.4796, allocations: 1.148 MB / 1.028 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4796, allocations: 12.03 kB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.6e-05/0.4797, allocations: 58.73 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.4799, allocations: 76 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.4807, allocations: 0.6525 MB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4807, allocations: 24.94 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.4808, allocations: 40.38 kB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.4813, allocations: 378.6 kB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4813, allocations: 3.984 kB / 1.03 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.4813, allocations: 12 kB / 1.03 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4813, allocations: 4 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.4817, allocations: 241.5 kB / 1.03 GB, free: 5.23 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.003101/0.4848, allocations: 2.451 MB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.4857, allocations: 398.5 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4859, allocations: 140.7 kB / 1.033 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.4859, allocations: 4 kB / 1.033 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.486, allocations: 38.56 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.486, allocations: 0 / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008304/0.4868, allocations: 0.5356 MB / 1.033 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.4868, allocations: 55.34 kB / 1.033 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009998/0.4878, allocations: 0.9414 MB / 1.034 GB, free: 432 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.4879, allocations: 37.7 kB / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.4881, allocations: 304.4 kB / 1.035 GB, free: 80 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.4882, allocations: 59.11 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.4883, allocations: 130.2 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4885, allocations: 382.7 kB / 1.035 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.4888, allocations: 240.9 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.4892, allocations: 0.4936 MB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.4899, allocations: 0.7079 MB / 1.036 GB, free: 13.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.49, allocations: 0 / 1.036 GB, free: 13.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001208/0.4912, allocations: 0.8231 MB / 1.037 GB, free: 12.97 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4912, allocations: 8 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4912, allocations: 8 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.4915, allocations: 52.83 kB / 1.037 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.4919, allocations: 147.7 kB / 1.037 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.4931, allocations: 1.436 MB / 1.039 GB, free: 11.19 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006565/0.4938, allocations: 127.4 kB / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.4938, allocations: 28 kB / 1.039 GB, free: 11.04 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.0003307/0.4942, allocations: 334 kB / 1.039 GB, free: 10.7 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.4943, allocations: 63.16 kB / 1.039 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.4944, allocations: 73.94 kB / 1.039 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4944, allocations: 0 / 1.039 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4944, allocations: 0 / 1.039 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4944, allocations: 3.984 kB / 1.039 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.495, allocations: 0.579 MB / 1.04 GB, free: 9.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.495, allocations: 4 kB / 1.04 GB, free: 9.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.4953, allocations: 51.89 kB / 1.04 GB, free: 9.879 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.4954, allocations: 44.8 kB / 1.04 GB, free: 9.832 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.4954, allocations: 11.94 kB / 1.04 GB, free: 9.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009361/0.4964, allocations: 1.409 MB / 1.042 GB, free: 8.277 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4964, allocations: 3.984 kB / 1.042 GB, free: 8.273 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.4971, allocations: 0.5715 MB / 1.042 GB, free: 7.684 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.4973, allocations: 200.3 kB / 1.042 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.974e-05/0.4974, allocations: 11.98 kB / 1.042 GB, free: 7.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.4978, allocations: 47.83 kB / 1.042 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.4979, allocations: 19.86 kB / 1.042 GB, free: 7.391 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.4979, allocations: 4 kB / 1.042 GB, free: 7.387 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007751/0.4986, allocations: 0.6629 MB / 1.043 GB, free: 6.73 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4987, allocations: 0 / 1.043 GB, free: 6.73 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005822/0.4992, allocations: 183.8 kB / 1.043 GB, free: 6.551 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.0009455/0.5002, allocations: 1.123 MB / 1.044 GB, free: 5.398 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008029/0.501, allocations: 0.568 MB / 1.045 GB, free: 4.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.501, allocations: 0 / 1.045 GB, free: 4.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.5013, allocations: 250.5 kB / 1.045 GB, free: 4.562 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.5021, allocations: 163.6 kB / 1.045 GB, free: 4.402 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009312/0.5115, allocations: 7.19 MB / 1.052 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.5121, allocations: 1.003 MB / 1.053 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006042/0.5127, allocations: 184.5 kB / 1.053 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.513, allocations: 203.4 kB / 1.054 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.513, allocations: 4 kB / 1.054 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06062/0.5737, allocations: 13.59 MB / 1.067 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.5739, allocations: 222.9 kB / 1.067 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.585, allocations: 0 / 1.067 GB, free: 13.86 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)