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.006485/0.006485, allocations: 101 kB / 15.73 MB, free: 6.055 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.00153/0.00153, allocations: 196.8 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.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.181/2.181, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.9504 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.7133, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003331/0.7167, allocations: 2.733 MB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003409/0.7201, allocations: 2.78 MB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.7204, allocations: 8.625 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.7217, allocations: 0.4926 MB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.7223, allocations: 257.7 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.7234, allocations: 400.3 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.7254, allocations: 1.536 MB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.7256, allocations: 137.2 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006633/0.7263, allocations: 467.9 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.7269, allocations: 388.5 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.727, allocations: 47.28 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.7271, allocations: 49.03 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.7274, allocations: 276.8 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004303/0.7279, allocations: 372.2 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.729, allocations: 0.9119 MB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7291, allocations: 1.125 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7291, allocations: 0 / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.7291, allocations: 1.125 kB / 1.098 GB, free: 15.3 MB / 0.8731 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.002311/0.7314, allocations: 1.143 MB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.7315, allocations: 10.23 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/0.7315, allocations: 69.12 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.7317, allocations: 78.56 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.7329, allocations: 0.6652 MB / 1.1 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.7329, allocations: 35.12 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.733, allocations: 39.59 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.7336, allocations: 375.5 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7336, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.7337, allocations: 11.12 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.7337, allocations: 9.594 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.7341, allocations: 241.1 kB / 1.101 GB, free: 13.75 MB / 0.8731 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.003983/0.7381, allocations: 2.449 MB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.7391, allocations: 401.3 kB / 1.103 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.7394, allocations: 134 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.7394, allocations: 5.328 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.7394, allocations: 41.16 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.7394, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001084/0.7405, allocations: 0.5285 MB / 1.104 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.7406, allocations: 53.81 kB / 1.104 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.742, allocations: 0.9418 MB / 1.105 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.742, allocations: 36.36 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.7423, allocations: 299.2 kB / 1.105 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.7424, allocations: 75.72 kB / 1.105 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.7426, allocations: 124.8 kB / 1.106 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.7428, allocations: 384.4 kB / 1.106 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.7431, allocations: 239.2 kB / 1.106 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.7436, allocations: 0.503 MB / 1.107 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.7445, allocations: 0.6927 MB / 1.107 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7445, allocations: 2.625 kB / 1.107 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001283/0.7458, allocations: 0.8159 MB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7458, allocations: 12.41 kB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7458, allocations: 9.875 kB / 1.108 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.746, allocations: 53.47 kB / 1.108 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.7465, allocations: 142.8 kB / 1.108 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.7478, allocations: 1.537 MB / 1.11 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/0.7487, allocations: 126.2 kB / 1.11 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.7488, allocations: 27.81 kB / 1.11 GB, free: 7.621 MB / 0.8731 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.0004444/0.7493, allocations: 340.4 kB / 1.11 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.7494, allocations: 63.09 kB / 1.11 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.7495, allocations: 71.14 kB / 1.11 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.7495, allocations: 6.203 kB / 1.11 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7495, allocations: 4.641 kB / 1.11 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7495, allocations: 1.688 kB / 1.11 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.7503, allocations: 0.5779 MB / 1.111 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7503, allocations: 4.438 kB / 1.111 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.7506, allocations: 50.05 kB / 1.111 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.7508, allocations: 45.8 kB / 1.111 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.7508, allocations: 11.09 kB / 1.111 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.7519, allocations: 1.517 MB / 1.113 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7519, allocations: 1.188 kB / 1.113 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.7527, allocations: 0.5668 MB / 1.113 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.753, allocations: 204.9 kB / 1.113 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.7531, allocations: 10.92 kB / 1.113 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.7535, allocations: 45.06 kB / 1.113 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.7536, allocations: 18.14 kB / 1.113 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.7536, allocations: 3.062 kB / 1.113 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008822/0.7545, allocations: 0.6597 MB / 1.114 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7545, allocations: 0 / 1.114 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006854/0.7552, allocations: 187.7 kB / 1.114 GB, free: 4.785 MB / 0.8731 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.001034/0.7562, allocations: 1.121 MB / 1.115 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009075/0.7572, allocations: 0.5611 MB / 1.116 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7572, allocations: 9.312 kB / 1.116 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.7575, allocations: 245.1 kB / 1.116 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.7584, allocations: 175.9 kB / 1.116 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/0.7673, allocations: 6.914 MB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.7679, allocations: 1.006 MB / 1.124 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004629/0.7684, allocations: 180.9 kB / 1.124 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.7687, allocations: 204.1 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of SimCode: time 5.41e-07/0.7687, allocations: 4 kB / 1.124 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.806, allocations: 14.2 MB / 1.138 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.82, allocations: 14.03 kB / 1.138 GB, free: 12.14 MB / 0.8887 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)