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.686/2.686, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001364/0.001364, allocations: 186.2 kB / 371 MB, free: 10.84 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.141/2.141, allocations: 205.4 MB / 0.6297 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.000861/0.0008607, allocations: 94.11 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006921/0.0006923, allocations: 10.59 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2834, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004252/0.2877, allocations: 3.217 MB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004432/0.2921, allocations: 2.415 MB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.2925, allocations: 15.88 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.2932, allocations: 210.8 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.2944, allocations: 431 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2958, allocations: 432.8 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.2974, allocations: 1.316 MB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.2976, allocations: 131.5 kB / 0.9864 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.2982, allocations: 382.5 kB / 0.9867 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007682/0.299, allocations: 0.4983 MB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.2991, allocations: 32 kB / 0.9873 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.2994, allocations: 40 kB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003464/0.2997, allocations: 315.1 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2999, allocations: 185.3 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.3006, allocations: 0.6896 MB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3006, allocations: 0 / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3006, allocations: 0 / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.3007, allocations: 0 / 0.9885 GB, free: 17.96 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.002695/0.3034, allocations: 1.16 MB / 0.9896 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3034, allocations: 8.031 kB / 0.9896 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.207e-05/0.3035, allocations: 70.53 kB / 0.9897 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.3037, allocations: 110.7 kB / 0.9898 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3049, allocations: 0.6201 MB / 0.9904 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.305, allocations: 40.64 kB / 0.9904 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.3051, allocations: 56 kB / 0.9905 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.3059, allocations: 415 kB / 0.9909 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3059, allocations: 0 / 0.9909 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.306, allocations: 12 kB / 0.9909 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.306, allocations: 8 kB / 0.9909 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/0.3066, allocations: 238.4 kB / 0.9911 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.3103, allocations: 2.513 MB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.3127, allocations: 0.559 MB / 0.9941 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003642/0.313, allocations: 164.8 kB / 0.9943 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.3131, allocations: 4 kB / 0.9943 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3131, allocations: 30.56 kB / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/0.3131, allocations: 0 / 0.9943 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.002299/0.3154, allocations: 0.9017 MB / 0.9952 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.3155, allocations: 59.36 kB / 0.9952 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.317, allocations: 0.9114 MB / 0.9961 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.3171, allocations: 41.7 kB / 0.9962 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.3174, allocations: 368.8 kB / 0.9965 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3175, allocations: 106.4 kB / 0.9966 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3175, allocations: 24 kB / 0.9966 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3177, allocations: 398.7 kB / 0.997 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005925/0.3183, allocations: 245.8 kB / 0.9973 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.3191, allocations: 0.6387 MB / 0.9979 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000728/0.3198, allocations: 343.4 kB / 0.9982 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.3199, allocations: 4 kB / 0.9982 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002193/0.3221, allocations: 1.014 MB / 0.9992 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3221, allocations: 12 kB / 0.9992 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3221, allocations: 12 kB / 0.9992 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005562/0.3227, allocations: 126.7 kB / 0.9993 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.3238, allocations: 187.7 kB / 0.9995 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.327, allocations: 4.173 MB / 1.004 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.3285, allocations: 119 kB / 1.004 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.3286, allocations: 40 kB / 1.004 GB, free: 1.223 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.0003944/0.329, allocations: 269.4 kB / 1.004 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3291, allocations: 78.97 kB / 1.004 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.3293, allocations: 80.53 kB / 1.004 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3293, allocations: 4 kB / 1.004 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.3293, allocations: 7.953 kB / 1.004 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3293, allocations: 3.984 kB / 1.004 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008836/0.3302, allocations: 0.6492 MB / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3302, allocations: 0 / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/0.3308, allocations: 63.94 kB / 1.005 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.3314, allocations: 106.4 kB / 1.005 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3314, allocations: 8 kB / 1.005 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004318/0.3358, allocations: 4.13 MB / 1.009 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3358, allocations: 4.125 kB / 1.009 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.3377, allocations: 0.7354 MB / 1.01 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.3381, allocations: 215.8 kB / 1.01 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.3383, allocations: 8 kB / 1.01 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008104/0.3391, allocations: 27.91 kB / 1.01 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3392, allocations: 28.09 kB / 1.01 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3393, allocations: 8 kB / 1.01 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00131/0.3406, allocations: 0.6161 MB / 1.011 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3406, allocations: 4 kB / 1.011 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001222/0.3418, allocations: 263.8 kB / 1.011 GB, free: 9.418 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.002142/0.344, allocations: 1.297 MB / 1.012 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.3461, allocations: 0.9271 MB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3461, allocations: 0 / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009851/0.3471, allocations: 0.5287 MB / 1.014 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.3486, allocations: 167.2 kB / 1.014 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.362, allocations: 5.8 MB / 1.019 GB, free: 252 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.3629, allocations: 0.9994 MB / 1.02 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007633/0.3637, allocations: 141.9 kB / 1.02 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.3643, allocations: 275.3 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/0.3643, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06947/0.4338, allocations: 16.8 MB / 1.037 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/0.4342, allocations: 212.5 kB / 1.037 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/3.801, allocations: 4 kB / 1.037 GB, free: 14.05 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)