Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.001582/0.001588, allocations: 105.4 kB / 15.7 MB, free: 24 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.001287/0.001287, allocations: 198.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.555 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 1.664/1.664, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001385/0.001385, allocations: 71.91 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2121, allocations: 114.6 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002649/0.2148, allocations: 1.415 MB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003037/0.2179, allocations: 2.667 MB / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.218, allocations: 0 / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.2194, allocations: 0.5792 MB / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.2194, allocations: 27.83 kB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.2194, allocations: 4 kB / 0.7882 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.2197, allocations: 155 kB / 0.7884 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.2198, allocations: 28.41 kB / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.2199, allocations: 63.66 kB / 0.7885 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.22, allocations: 83.58 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.22, allocations: 0 / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009596/0.221, allocations: 471.3 kB / 0.789 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.2211, allocations: 43.75 kB / 0.789 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2212, allocations: 95.38 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.2218, allocations: 442.2 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2218, allocations: 4 kB / 0.7895 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2218, allocations: 0 / 0.7895 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2218, allocations: 0 / 0.7895 GB, free: 7.219 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007381/0.2226, allocations: 0.5451 MB / 0.7901 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2226, allocations: 12.03 kB / 0.7901 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.2227, allocations: 110 kB / 0.7902 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.2229, allocations: 107.8 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.2231, allocations: 306.3 kB / 0.7906 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.2232, allocations: 154.9 kB / 0.7907 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.2232, allocations: 150.9 kB / 0.7909 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.785e-05/0.2233, allocations: 105.5 kB / 0.791 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.2233, allocations: 79.22 kB / 0.7911 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.2234, allocations: 154.6 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.2234, allocations: 154.5 kB / 0.7913 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.2235, allocations: 158.5 kB / 0.7915 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.2239, allocations: 0.5289 MB / 0.792 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.258e-05/0.224, allocations: 173.1 kB / 0.7922 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.224, allocations: 80.14 kB / 0.7923 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.224, allocations: 75.28 kB / 0.7923 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.2241, allocations: 113.8 kB / 0.7924 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2241, allocations: 0 / 0.7924 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001667/0.2243, allocations: 57.27 kB / 0.7925 GB, free: 4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.2243, allocations: 130.7 kB / 0.7926 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.2247, allocations: 429.3 kB / 0.793 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.2247, allocations: 25.7 kB / 0.7931 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.2248, allocations: 136.5 kB / 0.7932 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.2248, allocations: 0 / 0.7932 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.2249, allocations: 89.67 kB / 0.7933 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2251, allocations: 338.8 kB / 0.7936 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2252, allocations: 108.4 kB / 0.7937 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.2253, allocations: 169.3 kB / 0.7939 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.2256, allocations: 301.6 kB / 0.7941 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2256, allocations: 4 kB / 0.7941 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004645/0.2261, allocations: 332.8 kB / 0.7945 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2261, allocations: 11.94 kB / 0.7945 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2261, allocations: 0 / 0.7945 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2262, allocations: 4 kB / 0.7945 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.2262, allocations: 3.984 kB / 0.7945 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2262, allocations: 4 kB / 0.7945 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2263, allocations: 39.38 kB / 0.7945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.2263, allocations: 8.219 kB / 0.7945 GB, free: 1.82 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.2266, allocations: 248.2 kB / 0.7948 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.2266, allocations: 132.5 kB / 0.7949 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.2267, allocations: 114.7 kB / 0.795 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/0.2268, allocations: 188.2 kB / 0.7952 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-05/0.2268, allocations: 180.3 kB / 0.7954 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.881e-05/0.2269, allocations: 184.2 kB / 0.7955 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.2272, allocations: 477.2 kB / 0.796 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.984e-05/0.2272, allocations: 104.9 kB / 0.7961 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.083e-05/0.2273, allocations: 105 kB / 0.7962 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-05/0.2274, allocations: 180.2 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.117e-05/0.2274, allocations: 184.2 kB / 0.7965 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.806e-05/0.2275, allocations: 176.3 kB / 0.7967 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.309e-05/0.2276, allocations: 188.4 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.2277, allocations: 319.6 kB / 0.7972 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.801e-05/0.2278, allocations: 209.7 kB / 0.7974 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.623e-05/0.2279, allocations: 180.2 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.228, allocations: 108.9 kB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.2281, allocations: 180.3 kB / 0.7978 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.2281, allocations: 108.9 kB / 0.7979 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002372/0.2284, allocations: 271.1 kB / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2284, allocations: 4 kB / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000369/0.2288, allocations: 87.98 kB / 0.7983 GB, free: 13.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005825/0.2293, allocations: 0.9489 MB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.2296, allocations: 167.9 kB / 0.7994 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2296, allocations: 8.438 kB / 0.7994 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-06/0.2296, allocations: 7.938 kB / 0.7994 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.23, allocations: 463.6 kB / 0.7998 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.2326, allocations: 2.932 MB / 0.8027 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.233, allocations: 0.7821 MB / 0.8035 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.525e-05/0.233, allocations: 4 kB / 0.8035 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.2331, allocations: 51.41 kB / 0.8035 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of SimCode: time 1.643e-06/0.2331, allocations: 0 / 0.8035 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.2556, allocations: 6.422 MB / 0.8098 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.269, allocations: 7.562 kB / 0.8098 GB, free: 1.949 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1)