Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.001477/0.001477, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001937/0.001937, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.723/2.723, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.629/2.629, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005705/0.0005706, allocations: 15.03 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3691, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006674/0.3759, allocations: 3.003 MB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008149/0.3841, allocations: 2.404 MB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.3853, allocations: 11.88 kB / 0.7925 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.3869, allocations: 286.8 kB / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.3888, allocations: 402.8 kB / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.391, allocations: 424.2 kB / 0.7936 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002503/0.3935, allocations: 0.7719 MB / 0.7943 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.394, allocations: 123.5 kB / 0.7944 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.3951, allocations: 326.9 kB / 0.7948 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.3959, allocations: 330.7 kB / 0.7951 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-05/0.396, allocations: 28 kB / 0.7951 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3962, allocations: 28 kB / 0.7951 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.3968, allocations: 319.1 kB / 0.7954 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.3971, allocations: 189.2 kB / 0.7956 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.3981, allocations: 0.6584 MB / 0.7963 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3982, allocations: 0 / 0.7963 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.887e-06/0.3982, allocations: 0 / 0.7963 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3982, allocations: 0 / 0.7963 GB, free: 2.578 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003549/0.4018, allocations: 1.148 MB / 0.7974 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.94e-05/0.4018, allocations: 12.03 kB / 0.7974 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.402, allocations: 70.53 kB / 0.7975 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.4023, allocations: 102.8 kB / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.4041, allocations: 0.5812 MB / 0.7981 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.4042, allocations: 40.66 kB / 0.7982 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.4043, allocations: 59.91 kB / 0.7982 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.4054, allocations: 407 kB / 0.7986 GB, free: 32 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.4055, allocations: 7.938 kB / 0.7986 GB, free: 24 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.4055, allocations: 8 kB / 0.7986 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.4055, allocations: 15.98 kB / 0.7986 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007507/0.4063, allocations: 242.4 kB / 0.7989 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005728/0.4121, allocations: 2.482 MB / 0.8013 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.4144, allocations: 0.5499 MB / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.4145, allocations: 8 kB / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.4145, allocations: 42.48 kB / 0.8019 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=30): time 4.569e-06/0.4145, allocations: 0 / 0.8019 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30): time 0.002799/0.4173, allocations: 0.8796 MB / 0.8027 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.4174, allocations: 59.41 kB / 0.8028 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.4195, allocations: 0.8918 MB / 0.8037 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/0.4197, allocations: 37.7 kB / 0.8037 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005271/0.4202, allocations: 368.8 kB / 0.804 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.4204, allocations: 118.3 kB / 0.8042 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.4205, allocations: 16 kB / 0.8042 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0005473/0.4211, allocations: 390.8 kB / 0.8045 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/0.4217, allocations: 245.8 kB / 0.8048 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4229, allocations: 0.6348 MB / 0.8054 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008631/0.4238, allocations: 343.4 kB / 0.8057 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.4238, allocations: 7.938 kB / 0.8057 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002858/0.4267, allocations: 1.01 MB / 0.8067 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.4267, allocations: 16.06 kB / 0.8067 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/0.4268, allocations: 12 kB / 0.8067 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/0.4274, allocations: 122.5 kB / 0.8069 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.4285, allocations: 195.6 kB / 0.8071 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/0.4341, allocations: 4.197 MB / 0.8112 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.4362, allocations: 114.9 kB / 0.8113 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.4363, allocations: 44 kB / 0.8113 GB, free: 2.082 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005649/0.4369, allocations: 269.5 kB / 0.8116 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.4371, allocations: 78.97 kB / 0.8116 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.4373, allocations: 80.53 kB / 0.8117 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4373, allocations: 4 kB / 0.8117 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.4373, allocations: 0 / 0.8117 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.4374, allocations: 7.938 kB / 0.8117 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.4386, allocations: 0.6375 MB / 0.8123 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.4386, allocations: 0 / 0.8123 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.4392, allocations: 71.88 kB / 0.8124 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.4397, allocations: 98.78 kB / 0.8125 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.4397, allocations: 8 kB / 0.8125 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005682/0.4454, allocations: 4.173 MB / 0.8166 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4455, allocations: 0 / 0.8166 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.4477, allocations: 0.7473 MB / 0.8173 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/0.4483, allocations: 207.9 kB / 0.8175 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.4484, allocations: 8 kB / 0.8175 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.4492, allocations: 23.97 kB / 0.8175 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.4493, allocations: 23.97 kB / 0.8176 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.4493, allocations: 11.94 kB / 0.8176 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001292/0.4506, allocations: 0.5926 MB / 0.8182 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4507, allocations: 0 / 0.8182 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001649/0.4523, allocations: 271.7 kB / 0.8184 GB, free: 10.29 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002324/0.4547, allocations: 1.295 MB / 0.8197 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.4569, allocations: 0.9208 MB / 0.8206 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4569, allocations: 0 / 0.8206 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009635/0.4579, allocations: 0.5312 MB / 0.8211 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.4592, allocations: 159.4 kB / 0.8213 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.4715, allocations: 12.22 MB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.4725, allocations: 1.007 MB / 0.8342 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009/0.4735, allocations: 141.2 kB / 0.8343 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.4741, allocations: 271.3 kB / 0.8346 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of SimCode: time 1.944e-06/0.4741, allocations: 0 / 0.8346 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06132/0.5354, allocations: 15.84 MB / 0.85 GB, free: 9.711 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003755/0.5359, allocations: 203.8 kB / 0.8502 GB, free: 9.469 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.959/4.495, allocations: 0 / 0.8502 GB, free: 9.469 MB / 0.67 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) Environment - environmentSimulation: