Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7884/0.7884, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001246, allocations: 184.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 103.2 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 273.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 84.16 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3893, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003605/0.3929, allocations: 2.946 MB / 0.7708 GB, free: 24.72 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.3938, allocations: 0.6973 MB / 0.7715 GB, free: 24.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.394, allocations: 11.94 kB / 0.7715 GB, free: 24.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.3942, allocations: 55.66 kB / 0.7715 GB, free: 23.95 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.3944, allocations: 107.1 kB / 0.7716 GB, free: 23.85 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.3945, allocations: 47.97 kB / 0.7717 GB, free: 23.8 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.3948, allocations: 358.1 kB / 0.772 GB, free: 23.45 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.395, allocations: 82.45 kB / 0.7721 GB, free: 23.37 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3951, allocations: 135.5 kB / 0.7722 GB, free: 23.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.3953, allocations: 143.3 kB / 0.7724 GB, free: 23.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.3953, allocations: 24 kB / 0.7724 GB, free: 23.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.3954, allocations: 16 kB / 0.7724 GB, free: 23.05 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.3954, allocations: 43.78 kB / 0.7724 GB, free: 23.01 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3956, allocations: 147.2 kB / 0.7726 GB, free: 22.87 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.3958, allocations: 306.9 kB / 0.7729 GB, free: 22.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3958, allocations: 0 / 0.7729 GB, free: 22.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.3958, allocations: 0 / 0.7729 GB, free: 22.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3958, allocations: 0 / 0.7729 GB, free: 22.57 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007334/0.3966, allocations: 0.5885 MB / 0.7735 GB, free: 21.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3966, allocations: 12.03 kB / 0.7735 GB, free: 21.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.3967, allocations: 32.56 kB / 0.7735 GB, free: 21.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3969, allocations: 279.5 kB / 0.7738 GB, free: 21.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.397, allocations: 16.94 kB / 0.7738 GB, free: 21.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.397, allocations: 36.22 kB / 0.7738 GB, free: 21.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.3974, allocations: 237.2 kB / 0.774 GB, free: 21.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3974, allocations: 7.938 kB / 0.774 GB, free: 21.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.3974, allocations: 12 kB / 0.7741 GB, free: 21.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3975, allocations: 4 kB / 0.7741 GB, free: 21.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.3978, allocations: 194.1 kB / 0.7742 GB, free: 21.07 MB / 458.7 MB 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.001333/0.3991, allocations: 1.285 MB / 0.7755 GB, free: 19.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.3999, allocations: 258.5 kB / 0.7757 GB, free: 19.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.4, allocations: 61.11 kB / 0.7758 GB, free: 19.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4, allocations: 7.984 kB / 0.7758 GB, free: 19.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4, allocations: 38.5 kB / 0.7759 GB, free: 19.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.4, allocations: 0 / 0.7759 GB, free: 19.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.001021/0.4011, allocations: 0.6542 MB / 0.7765 GB, free: 18.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.4011, allocations: 55.41 kB / 0.7765 GB, free: 18.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4013, allocations: 283.2 kB / 0.7768 GB, free: 18.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.4013, allocations: 33.7 kB / 0.7768 GB, free: 18.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.729e-05/0.4014, allocations: 215.2 kB / 0.7771 GB, free: 17.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.4015, allocations: 71.03 kB / 0.7771 GB, free: 17.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.4016, allocations: 69.61 kB / 0.7772 GB, free: 17.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.4016, allocations: 338.8 kB / 0.7775 GB, free: 17.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4018, allocations: 76.33 kB / 0.7776 GB, free: 17.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.4019, allocations: 191 kB / 0.7778 GB, free: 17.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009736/0.4029, allocations: 499.2 kB / 0.7782 GB, free: 16.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4029, allocations: 7.938 kB / 0.7782 GB, free: 16.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005704/0.4035, allocations: 416.7 kB / 0.7786 GB, free: 16.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4035, allocations: 13.34 kB / 0.7787 GB, free: 16.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4036, allocations: 4 kB / 0.7787 GB, free: 16.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.4038, allocations: 91.33 kB / 0.7787 GB, free: 16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4041, allocations: 71.91 kB / 0.7788 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.4065, allocations: 5.116 MB / 0.7838 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.4067, allocations: 51.75 kB / 0.7839 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.4068, allocations: 12 kB / 0.7839 GB, free: 10.22 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004478/0.4072, allocations: 185.2 kB / 0.7841 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.4073, allocations: 35.55 kB / 0.7841 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.4074, allocations: 34.3 kB / 0.7841 GB, free: 9.961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4074, allocations: 4 kB / 0.7841 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.4074, allocations: 0 / 0.7841 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4074, allocations: 7.938 kB / 0.7841 GB, free: 9.949 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.4077, allocations: 305.4 kB / 0.7844 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4077, allocations: 0 / 0.7844 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.4079, allocations: 35.97 kB / 0.7845 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002027/0.4081, allocations: 87.33 kB / 0.7845 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.4081, allocations: 0 / 0.7845 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.4104, allocations: 5.124 MB / 0.7895 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4104, allocations: 0 / 0.7895 GB, free: 3.812 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/0.4164, allocations: 7.601 MB / 0.797 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.4165, allocations: 108.7 kB / 0.7971 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.4166, allocations: 4 kB / 0.7971 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.4167, allocations: 12.09 kB / 0.7971 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.4168, allocations: 11.98 kB / 0.7971 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.4168, allocations: 11.98 kB / 0.7971 GB, free: 11.33 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.417, allocations: 194 kB / 0.7973 GB, free: 11.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.723e-06/0.417, allocations: 0 / 0.7973 GB, free: 11.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006434/0.4177, allocations: 143.8 kB / 0.7974 GB, free: 11 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0001277/0.4178, allocations: 103.2 kB / 0.7975 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008757/0.4187, allocations: 0.6581 MB / 0.7982 GB, free: 10.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4187, allocations: 4.062 kB / 0.7982 GB, free: 10.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.4192, allocations: 0.5183 MB / 0.7987 GB, free: 9.613 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.4196, allocations: 52.58 kB / 0.7987 GB, free: 9.562 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.4215, allocations: 1.504 MB / 0.8002 GB, free: 7.969 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4218, allocations: 0.7761 MB / 0.801 GB, free: 7.168 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.422, allocations: 34.95 kB / 0.801 GB, free: 7.137 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.422, allocations: 23.44 kB / 0.801 GB, free: 7.113 MB / 474.7 MB Notification: Performance of SimCode: time 6.12e-07/0.422, allocations: 0 / 0.801 GB, free: 7.113 MB / 474.7 MB Notification: Performance of Templates: time 0.008818/0.4309, allocations: 4.829 MB / 0.8057 GB, free: 2.324 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)