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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",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.001735/0.001735, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.543/2.543, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003959/0.003959, allocations: 271 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.806/1.806, allocations: 169.3 MB / 0.4982 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003874/0.003875, allocations: 96.17 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2922, allocations: 86.97 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.008284/0.3006, allocations: 2.901 MB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3027, allocations: 0.6995 MB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.3032, allocations: 11.94 kB / 0.6838 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000423/0.3037, allocations: 63.48 kB / 0.6839 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006469/0.3044, allocations: 122.9 kB / 0.684 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.3047, allocations: 55.86 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007135/0.3055, allocations: 370.2 kB / 0.6844 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.3058, allocations: 116 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.3063, allocations: 139.4 kB / 0.6846 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.3067, allocations: 147.3 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.892e-05/0.3068, allocations: 28 kB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3069, allocations: 24 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.307, allocations: 59.7 kB / 0.6849 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.3073, allocations: 155.3 kB / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.3079, allocations: 310.9 kB / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3079, allocations: 4 kB / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.308, allocations: 0 / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.308, allocations: 0 / 0.6853 GB, free: 11.39 MB / 494.1 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.001491/0.3095, allocations: 0.5768 MB / 0.6859 GB, free: 10.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.3096, allocations: 8.031 kB / 0.6859 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.3097, allocations: 62.72 kB / 0.686 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.3098, allocations: 36.56 kB / 0.686 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.3104, allocations: 283.6 kB / 0.6863 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.3104, allocations: 16.94 kB / 0.6863 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.3105, allocations: 32.28 kB / 0.6863 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.3113, allocations: 237 kB / 0.6865 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.3113, allocations: 4 kB / 0.6865 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.3114, allocations: 8 kB / 0.6865 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.3114, allocations: 8 kB / 0.6866 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006743/0.3121, allocations: 194.1 kB / 0.6867 GB, free: 9.84 MB / 494.1 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.002743/0.3149, allocations: 1.281 MB / 0.688 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.3164, allocations: 266.4 kB / 0.6882 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.3166, allocations: 62.66 kB / 0.6883 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3167, allocations: 4 kB / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3167, allocations: 34.56 kB / 0.6883 GB, free: 8.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.3167, allocations: 4 kB / 0.6883 GB, free: 8 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002089/0.3188, allocations: 0.6534 MB / 0.689 GB, free: 7.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.682e-05/0.3189, allocations: 55.41 kB / 0.689 GB, free: 7.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.3194, allocations: 283.2 kB / 0.6893 GB, free: 6.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.3195, allocations: 33.7 kB / 0.6893 GB, free: 6.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3197, allocations: 211.3 kB / 0.6895 GB, free: 6.652 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3199, allocations: 67.09 kB / 0.6896 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.3201, allocations: 77.55 kB / 0.6897 GB, free: 6.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.3203, allocations: 334.8 kB / 0.69 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.3206, allocations: 80.27 kB / 0.6901 GB, free: 6.086 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.321, allocations: 186.5 kB / 0.6903 GB, free: 5.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.323, allocations: 0.4928 MB / 0.6907 GB, free: 5.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.3231, allocations: 4 kB / 0.6907 GB, free: 5.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001292/0.3244, allocations: 420.6 kB / 0.6911 GB, free: 4.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3244, allocations: 8 kB / 0.6911 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3244, allocations: 7.938 kB / 0.6912 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.3249, allocations: 87.39 kB / 0.6912 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.3254, allocations: 75.84 kB / 0.6913 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/0.3313, allocations: 5.519 MB / 0.6967 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.3317, allocations: 43.59 kB / 0.6967 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.3318, allocations: 19.98 kB / 0.6968 GB, free: 14.55 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = 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.000482/0.3323, allocations: 185.4 kB / 0.6969 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.3324, allocations: 31.66 kB / 0.697 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.3325, allocations: 30.3 kB / 0.697 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3325, allocations: 0 / 0.697 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.3325, allocations: 4 kB / 0.697 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3325, allocations: 0 / 0.697 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.3331, allocations: 305.3 kB / 0.6973 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.3331, allocations: 3.984 kB / 0.6973 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.3335, allocations: 35.98 kB / 0.6973 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.3339, allocations: 79.39 kB / 0.6974 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3339, allocations: 4 kB / 0.6974 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005639/0.3396, allocations: 5.511 MB / 0.7028 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.3396, allocations: 3.984 kB / 0.7028 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3408, allocations: 414.5 kB / 0.7032 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3409, allocations: 104.7 kB / 0.7033 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.341, allocations: 8.062 kB / 0.7033 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.3413, allocations: 0 / 0.7033 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/0.3414, allocations: 23.95 kB / 0.7033 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3414, allocations: 8 kB / 0.7033 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003093/0.3417, allocations: 194 kB / 0.7035 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3418, allocations: 0 / 0.7035 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008454/0.3426, allocations: 91.91 kB / 0.7036 GB, free: 6.871 MB / 0.4981 GB 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.00156/0.3442, allocations: 0.9604 MB / 0.7045 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00142/0.3456, allocations: 0.6548 MB / 0.7052 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3456, allocations: 0 / 0.7052 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009409/0.3466, allocations: 0.5386 MB / 0.7057 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007226/0.3473, allocations: 52.88 kB / 0.7058 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/0.3541, allocations: 3.156 MB / 0.7088 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.3546, allocations: 0.7684 MB / 0.7096 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003038/0.3549, allocations: 34.95 kB / 0.7096 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.3552, allocations: 87.41 kB / 0.7097 GB, free: 276 kB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.3552, allocations: 0 / 0.7097 GB, free: 276 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05482/0.41, allocations: 6.894 MB / 0.7164 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.06, allocations: 8 kB / 0.7164 GB, free: 9.539 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)