Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_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.001938/0.001938, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002186/0.002186, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.435/2.435, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.6/5.6, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 63.36 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6519, allocations: 157.4 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.007914/0.6599, allocations: 2.787 MB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007145/0.6672, allocations: 2.765 MB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006444/0.6679, allocations: 11.94 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.6708, allocations: 466.3 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.6723, allocations: 255 kB / 1.059 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.6744, allocations: 366.2 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003523/0.6779, allocations: 1.552 MB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.6784, allocations: 138.3 kB / 1.061 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.6799, allocations: 494.7 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.6812, allocations: 438.6 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.6815, allocations: 51.94 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.6819, allocations: 52 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005698/0.6825, allocations: 255.3 kB / 1.062 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.6836, allocations: 378.2 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.6855, allocations: 0.8918 MB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6855, allocations: 0 / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6855, allocations: 0 / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.766e-05/0.6856, allocations: 4 kB / 1.063 GB, free: 13.81 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.004771/0.6904, allocations: 1.148 MB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.886e-05/0.6905, allocations: 12.62 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.6906, allocations: 62.72 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.691, allocations: 80 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.6927, allocations: 0.6525 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.6928, allocations: 28.94 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.693, allocations: 36.38 kB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6941, allocations: 378.6 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.6941, allocations: 0 / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.6942, allocations: 12 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.6942, allocations: 8 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.695, allocations: 229.5 kB / 1.066 GB, free: 11.06 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.006462/0.7015, allocations: 2.455 MB / 1.068 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.7033, allocations: 406.4 kB / 1.068 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.7037, allocations: 136.8 kB / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.7037, allocations: 0 / 1.068 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.7038, allocations: 38.88 kB / 1.068 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 2.695e-06/0.7038, allocations: 4 kB / 1.068 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001763/0.7056, allocations: 0.5354 MB / 1.069 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.7057, allocations: 59.34 kB / 1.069 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/0.7088, allocations: 0.9337 MB / 1.07 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.465e-05/0.7089, allocations: 33.7 kB / 1.07 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000519/0.7094, allocations: 304.4 kB / 1.07 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.7097, allocations: 70.94 kB / 1.07 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004053/0.7101, allocations: 126.2 kB / 1.07 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000338/0.7105, allocations: 382.7 kB / 1.071 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007496/0.7112, allocations: 236.9 kB / 1.071 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.7122, allocations: 0.5013 MB / 1.072 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.7138, allocations: 0.7024 MB / 1.072 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.7138, allocations: 4 kB / 1.072 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002531/0.7164, allocations: 0.8125 MB / 1.073 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.7164, allocations: 8 kB / 1.073 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.7165, allocations: 19.92 kB / 1.073 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.7168, allocations: 44.83 kB / 1.073 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.7178, allocations: 139.8 kB / 1.073 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.7201, allocations: 1.543 MB / 1.075 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.7216, allocations: 135.1 kB / 1.075 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.7217, allocations: 28 kB / 1.075 GB, free: 0.75 MB / 0.8262 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.0007121/0.7224, allocations: 337.4 kB / 1.075 GB, free: 420 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.7227, allocations: 63.19 kB / 1.075 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.723, allocations: 74.06 kB / 1.075 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.723, allocations: 4 kB / 1.075 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.723, allocations: 0 / 1.075 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.723, allocations: 0 / 1.075 GB, free: 268 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.7245, allocations: 0.5791 MB / 1.076 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.7245, allocations: 3.938 kB / 1.076 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.725, allocations: 47.95 kB / 1.076 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.7252, allocations: 40.83 kB / 1.076 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.7253, allocations: 15.98 kB / 1.076 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.7275, allocations: 1.515 MB / 1.078 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7275, allocations: 0 / 1.078 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.729, allocations: 0.5669 MB / 1.078 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/0.7296, allocations: 208.2 kB / 1.078 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.7298, allocations: 8.188 kB / 1.078 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.7313, allocations: 55.86 kB / 1.078 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.7314, allocations: 11.92 kB / 1.078 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.7314, allocations: 11.98 kB / 1.078 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001777/0.7332, allocations: 0.6551 MB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8.11e-07/0.7332, allocations: 0 / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001388/0.7346, allocations: 183.8 kB / 1.079 GB, free: 12.15 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.001763/0.7364, allocations: 1.12 MB / 1.08 GB, free: 11 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7381, allocations: 0.598 MB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7382, allocations: 0 / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.7387, allocations: 250.7 kB / 1.081 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.7404, allocations: 169.1 kB / 1.081 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/0.7606, allocations: 7.168 MB / 1.088 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.7617, allocations: 1.006 MB / 1.089 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009151/0.7626, allocations: 180.5 kB / 1.089 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.7632, allocations: 207.4 kB / 1.09 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of SimCode: time 1.002e-06/0.7633, allocations: 0 / 1.09 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2351/0.9984, allocations: 13.93 MB / 1.103 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004122/0.9989, allocations: 230.1 kB / 1.103 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.886/5.885, allocations: 4 kB / 1.103 GB, free: 3.133 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)