Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.93/2.93, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 183 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.253/2.253, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 78.94 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000721/0.0007211, allocations: 10.72 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2365, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004277/0.2409, allocations: 2.999 MB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005246/0.2462, allocations: 2.413 MB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/0.2469, allocations: 11.94 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.2482, allocations: 286.7 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.2497, allocations: 398.9 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.2515, allocations: 424.2 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.2533, allocations: 0.7719 MB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.2537, allocations: 131.5 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009747/0.2547, allocations: 322.9 kB / 0.9858 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007532/0.2555, allocations: 330.6 kB / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.2557, allocations: 28 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.2559, allocations: 28 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.2564, allocations: 307.2 kB / 0.9865 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.2566, allocations: 193.2 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008691/0.2575, allocations: 0.6662 MB / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2576, allocations: 0 / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2576, allocations: 0 / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.2576, allocations: 0 / 0.9873 GB, free: 19.01 MB / 0.6198 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.003011/0.2606, allocations: 1.144 MB / 0.9884 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2607, allocations: 12.03 kB / 0.9884 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.2609, allocations: 70.53 kB / 0.9885 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.2611, allocations: 106.7 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.2625, allocations: 0.5811 MB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.2626, allocations: 36.66 kB / 0.9892 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2627, allocations: 59.91 kB / 0.9893 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/0.2636, allocations: 411 kB / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2636, allocations: 0 / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/0.2637, allocations: 12 kB / 0.9897 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2637, allocations: 8 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.2643, allocations: 242.4 kB / 0.9899 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.2688, allocations: 2.49 MB / 0.9923 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.2713, allocations: 0.5607 MB / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.523e-05/0.2714, allocations: 7.938 kB / 0.9929 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.2714, allocations: 34.56 kB / 0.9929 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.888e-06/0.2714, allocations: 0 / 0.9929 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.002429/0.2739, allocations: 0.8869 MB / 0.9938 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.274, allocations: 63.3 kB / 0.9939 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.2756, allocations: 0.8879 MB / 0.9947 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.2757, allocations: 41.7 kB / 0.9948 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.2761, allocations: 368.8 kB / 0.9951 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.2762, allocations: 118.3 kB / 0.9952 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2763, allocations: 16 kB / 0.9952 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2765, allocations: 394.8 kB / 0.9956 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.2776, allocations: 245.8 kB / 0.9958 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.2792, allocations: 0.631 MB / 0.9965 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.2802, allocations: 335.4 kB / 0.9968 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.2802, allocations: 4 kB / 0.9968 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002415/0.2826, allocations: 1.014 MB / 0.9978 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.2827, allocations: 16 kB / 0.9978 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.2827, allocations: 15.94 kB / 0.9978 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/0.2833, allocations: 122.5 kB / 0.9979 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2845, allocations: 195.7 kB / 0.9981 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.2882, allocations: 4.189 MB / 1.002 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.2897, allocations: 123.3 kB / 1.002 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.2899, allocations: 40 kB / 1.002 GB, free: 2.52 MB / 0.6198 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.0004493/0.2903, allocations: 269.5 kB / 1.003 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.2906, allocations: 78.97 kB / 1.003 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.2908, allocations: 76.53 kB / 1.003 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2908, allocations: 7.984 kB / 1.003 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.2908, allocations: 11.89 kB / 1.003 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.2908, allocations: 3.984 kB / 1.003 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.2918, allocations: 0.6375 MB / 1.003 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.2919, allocations: 4 kB / 1.003 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.2926, allocations: 67.94 kB / 1.003 GB, free: 1.312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004889/0.2931, allocations: 90.5 kB / 1.004 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.2931, allocations: 12 kB / 1.004 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/0.2976, allocations: 4.169 MB / 1.008 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2976, allocations: 0 / 1.008 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.2996, allocations: 0.7353 MB / 1.008 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.3002, allocations: 200 kB / 1.009 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.3004, allocations: 15.98 kB / 1.009 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/0.3012, allocations: 23.97 kB / 1.009 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3013, allocations: 31.92 kB / 1.009 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.3014, allocations: 8 kB / 1.009 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001335/0.3027, allocations: 0.5965 MB / 1.009 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/0.3028, allocations: 0 / 1.009 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001469/0.3042, allocations: 267.7 kB / 1.009 GB, free: 10.72 MB / 0.6355 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.00235/0.3066, allocations: 1.301 MB / 1.011 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.3089, allocations: 0.9161 MB / 1.012 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.309, allocations: 0.5 kB / 1.012 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.3101, allocations: 0.5349 MB / 1.012 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.3115, allocations: 163.4 kB / 1.012 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.3219, allocations: 12.19 MB / 1.024 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009424/0.3229, allocations: 1.011 MB / 1.025 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007813/0.3238, allocations: 141.2 kB / 1.025 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/0.3244, allocations: 275.3 kB / 1.026 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/0.3244, allocations: 0 / 1.026 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07507/0.3995, allocations: 15.84 MB / 1.041 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/0.3999, allocations: 199.5 kB / 1.041 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.135/3.535, allocations: 0 / 1.041 GB, free: 9.914 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)